<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Muskaan Pirani on Medium]]></title>
        <description><![CDATA[Stories by Muskaan Pirani on Medium]]></description>
        <link>https://medium.com/@muskaanpirani?source=rss-938bd5b1e424------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*JVG1V6_TOIMMHKiacmDBMA.jpeg</url>
            <title>Stories by Muskaan Pirani on Medium</title>
            <link>https://medium.com/@muskaanpirani?source=rss-938bd5b1e424------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 23:22:38 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@muskaanpirani/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[When to Use RAG and When Not To: A Production Decision Guide for LLM Applications]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://blog.gopenai.com/when-to-use-rag-and-when-not-to-a-production-decision-guide-for-llm-applications-f97c91c51220?source=rss-938bd5b1e424------2"><img src="https://cdn-images-1.medium.com/max/2600/0*oTEaYFRbq-wLDbxE" width="8533"></a></p><p class="medium-feed-snippet">RAG can make an LLM useful with private and changing data, but it also adds latency, infrastructure, and failure modes. The real&#x2026;</p><p class="medium-feed-link"><a href="https://blog.gopenai.com/when-to-use-rag-and-when-not-to-a-production-decision-guide-for-llm-applications-f97c91c51220?source=rss-938bd5b1e424------2">Continue reading on GoPenAI »</a></p></div>]]></description>
            <link>https://blog.gopenai.com/when-to-use-rag-and-when-not-to-a-production-decision-guide-for-llm-applications-f97c91c51220?source=rss-938bd5b1e424------2</link>
            <guid isPermaLink="false">https://medium.com/p/f97c91c51220</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[agentic-rag]]></category>
            <category><![CDATA[software-architecture]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[langchain]]></category>
            <dc:creator><![CDATA[Muskaan Pirani]]></dc:creator>
            <pubDate>Sat, 15 Aug 2026 12:57:45 GMT</pubDate>
            <atom:updated>2026-08-18T12:22:49.214Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Designing Context Windows as Stateful System Memory]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://blog.gopenai.com/context-is-not-just-text-designing-context-windows-as-stateful-system-memory-548217b5ad6a?source=rss-938bd5b1e424------2"><img src="https://cdn-images-1.medium.com/max/2600/0*Np1S5bNSpheeR9CW" width="5193"></a></p><p class="medium-feed-snippet">Don&apos;t let context bloat kill your AI app. Learn how to treat context windows as stateful memory and extract signals from the noise.</p><p class="medium-feed-link"><a href="https://blog.gopenai.com/context-is-not-just-text-designing-context-windows-as-stateful-system-memory-548217b5ad6a?source=rss-938bd5b1e424------2">Continue reading on GoPenAI »</a></p></div>]]></description>
            <link>https://blog.gopenai.com/context-is-not-just-text-designing-context-windows-as-stateful-system-memory-548217b5ad6a?source=rss-938bd5b1e424------2</link>
            <guid isPermaLink="false">https://medium.com/p/548217b5ad6a</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[memory-management]]></category>
            <category><![CDATA[operating-systems]]></category>
            <category><![CDATA[context-engineering]]></category>
            <dc:creator><![CDATA[Muskaan Pirani]]></dc:creator>
            <pubDate>Wed, 12 Aug 2026 16:34:50 GMT</pubDate>
            <atom:updated>2026-08-14T11:03:52.121Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[RAG Chunking Strategies: The Complete Engineering Guide]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://blog.gopenai.com/rag-chunking-strategies-the-complete-engineering-guide-4e3ef5c33233?source=rss-938bd5b1e424------2"><img src="https://cdn-images-1.medium.com/max/2600/0*H_5f11EzfozQUXfY" width="5376"></a></p><p class="medium-feed-snippet">When building a Retrieval-Augmented Generation (RAG) system, most developers spend days debating which LLM or vector database to use. But&#x2026;</p><p class="medium-feed-link"><a href="https://blog.gopenai.com/rag-chunking-strategies-the-complete-engineering-guide-4e3ef5c33233?source=rss-938bd5b1e424------2">Continue reading on GoPenAI »</a></p></div>]]></description>
            <link>https://blog.gopenai.com/rag-chunking-strategies-the-complete-engineering-guide-4e3ef5c33233?source=rss-938bd5b1e424------2</link>
            <guid isPermaLink="false">https://medium.com/p/4e3ef5c33233</guid>
            <category><![CDATA[langchain]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[agentic-rag]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[llamaindex]]></category>
            <dc:creator><![CDATA[Muskaan Pirani]]></dc:creator>
            <pubDate>Tue, 04 Aug 2026 16:56:39 GMT</pubDate>
            <atom:updated>2026-08-11T10:19:42.704Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Deconstructing RAG: How Retrieval-Augmented Generation Works Under the Hood]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/geekculture/deconstructing-rag-how-retrieval-augmented-generation-works-under-the-hood-38446d589e50?source=rss-938bd5b1e424------2"><img src="https://cdn-images-1.medium.com/max/2600/0*WNfpNEVtYqRih8SF" width="5472"></a></p><p class="medium-feed-snippet">A senior engineer&#x2019;s breakdown of RAG architecture, vector search mechanics, and why most pipelines fail in production.</p><p class="medium-feed-link"><a href="https://medium.com/geekculture/deconstructing-rag-how-retrieval-augmented-generation-works-under-the-hood-38446d589e50?source=rss-938bd5b1e424------2">Continue reading on Geek Culture »</a></p></div>]]></description>
            <link>https://medium.com/geekculture/deconstructing-rag-how-retrieval-augmented-generation-works-under-the-hood-38446d589e50?source=rss-938bd5b1e424------2</link>
            <guid isPermaLink="false">https://medium.com/p/38446d589e50</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[embedding]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[vector-database]]></category>
            <category><![CDATA[software-engineering]]></category>
            <dc:creator><![CDATA[Muskaan Pirani]]></dc:creator>
            <pubDate>Mon, 03 Aug 2026 17:10:22 GMT</pubDate>
            <atom:updated>2026-08-12T16:43:04.939Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[GREEN CLOUD COMPUTING]]></title>
            <link>https://medium.com/geekculture/green-cloud-computing-db74a9c55c0e?source=rss-938bd5b1e424------2</link>
            <guid isPermaLink="false">https://medium.com/p/db74a9c55c0e</guid>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[green-cloud-computing]]></category>
            <category><![CDATA[cloud-storage]]></category>
            <category><![CDATA[cloud-services]]></category>
            <category><![CDATA[cloud]]></category>
            <dc:creator><![CDATA[Muskaan Pirani]]></dc:creator>
            <pubDate>Sat, 23 Oct 2021 07:25:51 GMT</pubDate>
            <atom:updated>2023-04-01T06:59:03.451Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Hv2xezoOtpflElpQ" /><figcaption>Photo by <a href="https://unsplash.com/@sigmund?utm_source=medium&amp;utm_medium=referral">Sigmund</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3><strong>What is Cloud?</strong></h3><p>A network or the internet is referred to as a cloud. To put it another way, the cloud refers to items that are stored in a faraway area. Cloud services can be delivered across a network, such as a public network or a private network, such as a WAN, LAN, or VPN. E-mail, online conferencing, and customer relationship management (CRM) are all cloud-based applications.</p><h3><strong>What is Cloud Computing?</strong></h3><p>The term “cloud computing” refers to the process of altering, setting, and accessing software over the internet. It provides data storage, infrastructure, and applications all across the internet. Cloud computing is a network service that combines software and hardware-based computing resources.</p><p>We are slowly depleting the natural resources of our earth in today’s era of rapid technological advancement. In conventional IT sectors, on-premises servers were used for a lot of computation, which required a lot of planning, high expenses, and a lot of storage. It also resulted in a high level of energy usage. To avoid all of this, cloud computing was created, and numerous difficulties were solved as a result of its on-demand and pay-as-you-go service. Because of this, IT companies do not need a separate server storage area, nor do they need to prepare ahead of time because it is an on-demand service; nor do they need to be concerned about pricing because it is a pay-per-use service with significant discounts if purchased in quantity. Even though IT firms do not require separate server rooms, service providers such as Amazon, Google, and Microsoft require servers to provide this service. Even while cloud computing offers the benefit of reusability, these servers burn a lot of energy.</p><p>Today, cloud computing includes a large number of front-end clients connecting with back-end data centers, resulting in a massive increase in energy consumption, which will hinder cloud computing from growing sustainably in the future. Because of the massive growth of cloud computing, data centers are rapidly expanding. Today, cloud computing includes a large number of front-end clients connecting with back-end data centers, resulting in a massive increase in energy consumption, which will hinder cloud computing from growing sustainably in the future. Because of the massive growth of cloud computing, data centers are rapidly expanding.</p><h3><strong>What is Green Cloud Computing?</strong></h3><p>Green Cloud Computing not only provides effective processing and infrastructure usage but also saves energy. Green computing is a method of reducing the consumption of computing resources as well as the negative consequences on the environment.</p><p>Green cloud computing is the process of implementing this architecture in data centers. Every field is reacting to rising energy usage and attempting to incorporate environmentally friendly ways in their fields. Given its numerous advantages, cloud computing was a welcome move for many IT organizations, and it also benefited the environment by lowering the energy consumption caused by the companies’ data centers. Cloud computing, on the other hand, eliminates the necessity for a separate data center. It consolidated all processing and storage requirements for a certain zone into a single data center with excellent security, decreasing data theft and loss.</p><p>Green Cloud Architecture is the result of these processes, which lead to both energy efficiency and a mindful understanding of carbon emissions. The purpose of constructing a Green Area is to reduce energy consumption.</p><h3><strong>What is the need for Green Cloud Computing?</strong></h3><p>Over the last decade, there has been a lot of talk about Green computing, which examines the influence of IT infrastructure on the environment.</p><p>The expanding impact of information technology on the environment is not considered, even though information technology and the environment are studied independently. According to McKinsey, IT generates approximately one gig ton of output per year, accounting for about 2% of total global emissions. It is anticipated that by 2020, it will have reached 1.54 gigatons or 3% of total land extraction. While the rising demand for computers cannot be stopped, we must create ways to deliver computers in a more intelligent and ecologically responsible manner.</p><p>Although cloud computing technology has the potential to increase efficiency, it does raise an obvious question: Can transferring our vast cloud computing load help maintain the environment safe and green? The changing circumstances during the production revolution are akin to the ever-evolving technological breakthroughs in information technology-focused cloud computing. Cars were drawn one by one by professional car manufacturers before Henry Ford introduced the idea of assembling and building a profitable automotive business. Modern assembly lines herald a new era of mass-produced, well-built, and low-cost automobiles.</p><p>Similarly, distinct technological experts known as software engineers, hardware engineers, or IT employees set different software and hardware. Cloud computing is now based on the concept of providing Information Technology as a Service by a modern mid-level industrial unit. We’ve also progressed in the concept of XAAS, or anything as an IT delivery service, in recent years.</p><p>The ICT industry, more than any other, is responsible for a significant part of worldwide energy growth. Green cloud computing aims to encourage the recycling or biodegradability of outmoded items and industry waste by decreasing the usage of hazardous compounds and enhancing energy efficiency throughout the product life cycle.</p><h3><strong>Aim of Green Cloud Computing</strong></h3><p>The goal is to lower the data center’s power consumption. It has features like online monitoring, virtual machine migration, and visibility placement that are ideal. This Green Cloud Architecture structure can help you save up to 27%. The requirement to handle multiple applications in a data center makes it difficult to offer the necessary resources and allocate them to a variety of workloads. To give performance guarantees and sustain segmentation, domain data resources have statistical applications that are dependent on loading features.</p><p>The concept of energy-saving device management was initially established in the context of battery-powered mobile devices, where power consumption needs to be decreased to extend battery life. Servers and data centers can employ or modify mobile device strategies, however, this form of program necessitates specific ways.</p><p>The key is to effectively integrate the Dynamic Voltage Frequency Scaling process to boost resource utilization and reduce data bearers’ energy consumption, resulting in a lower carbon footprint and therefore considerably assisting in achieving Green Computing.</p><h3><strong>Benefits</strong></h3><p>· Conserving Energy by Green Cloud Computing</p><p>· Remote Working reduces the Carbon Footprint in the Environment</p><p>· Going Paperless with Green Computing and Cloud Computing</p><p>· Reduction in E-waste Generation</p><h3><strong>Disadvantages</strong></h3><p>· Implementation Cost is High</p><p>· Evolving Technology will be challenging to Adapt To.</p><p>· Green Computers may be considered Underpowered</p><h3><strong>How to achieve Green Cloud computing</strong></h3><p><strong>1. Virtualization:</strong></p><p>This is a Cloud Computing approach that improves machine management and allows for more efficient energy usage. This is accomplished by sharing a single physical instance with multiple customers. Virtualization not only allows for better monitoring and resource allocation but also protects the environment by maximizing the number of accessible resources in an environmentally responsible manner.</p><p>Here are some ways because of which this is feasible:</p><ul><li>Assists the system in making the most use of available resources.</li><li>It’s now easy to keep track of and manage resource allocation.</li><li>The expected downtime is avoided by migrating virtual computers from one physical location to another.</li><li>The workloads are dynamically balanced among the servers.</li></ul><p><strong>2. Dynamic Voltage Frequency Scaling (DVFS):</strong></p><p>It’s a strategy for lowering processor power and energy usage that’s combined with frequency scaling (a technique where dynamic control of the voltage and frequency is adopted). The DVFS minimizes data center energy usage and maximizes resource use. As a result, adopting Green Cloud Computing makes it possible to lessen one’s carbon footprint.</p><h3><strong>Applications of Green Cloud Computing</strong></h3><p>Widely green computing is used in the following areas in organizations:</p><ul><li>Management of energy in Data Centers</li><li>Green Wireless Network</li><li>Green Parallel Computing with Big Data Network</li><li>Green computing with an algorithm</li></ul><h3><strong>Conclusion</strong></h3><p>The goal of the green cloud architecture is to lower data center power usage. The key benefit of green cloud computing architecture is that it ensures real-time performance while lowering the IDC’s energy usage (internet data center). The concept of “going green” has been around since 1992. Despite its drawbacks, green cloud computing is a notion being researched to rescue our environment. The concept is changing and evolving, yet it is critical for reducing carbon emissions in the environment.</p><p>The idea is intended to save both money and the environment. The risk to human life posed by e-waste disposal is also predicted to decrease significantly. Together, cloud computing and green computing will help enterprises reduce carbon emissions while also providing a productive work environment. Today, green cloud computing and environmental sustainability are critical.</p><h3><strong>References:</strong></h3><p><a href="https://chinmay-kulkarni.medium.com/what-is-green-cloud-computing-42bd3536bc3e"><em>https://chinmay-kulkarni.medium.com/what-is-green-cloud-computing-42bd3536bc3e</em></a></p><p><a href="https://www.jigsawacademy.com/blogs/cloud-computing/green-cloud-computing/"><em>https://www.jigsawacademy.com/blogs/cloud-computing/green-cloud-computing/</em></a></p><h3><strong>Authors:</strong></h3><ul><li>Muskaan Pirani | <a href="https://www.linkedin.com/in/muskaanpirani">LinkedIn</a></li><li>Saumya Raval | <a href="https://www.linkedin.com/in/saumya-raval">LinkedIn</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=db74a9c55c0e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/geekculture/green-cloud-computing-db74a9c55c0e">GREEN CLOUD COMPUTING</a> was originally published in <a href="https://medium.com/geekculture">Geek Culture</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Statistics in Data Science]]></title>
            <link>https://medium.com/geekculture/statistics-in-data-science-277c1f9745bc?source=rss-938bd5b1e424------2</link>
            <guid isPermaLink="false">https://medium.com/p/277c1f9745bc</guid>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[statistics]]></category>
            <category><![CDATA[hypothesis-testing]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Muskaan Pirani]]></dc:creator>
            <pubDate>Mon, 16 Aug 2021 12:41:00 GMT</pubDate>
            <atom:updated>2021-09-20T09:28:42.802Z</atom:updated>
            <content:encoded><![CDATA[<p>Statistics is one of the popularly regarded disciplines this is particularly centered on records collection, records organization, records analysis, records interpretation and records visualization. Earlier, facts become practiced through statisticians, economists, enterprise proprietors to calculate and constitute applicable records of their field. Nowadays, facts have taken a pivotal position in diverse fields like records technology, system learning, records analyst position, enterprise intelligence analyst position, pc technology position, and plenty more.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*kslHybXst2ATgH0P" /><figcaption>Photo by <a href="https://unsplash.com/@lukechesser?utm_source=medium&amp;utm_medium=referral">Luke Chesser</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Statistics is a type of mathematical analysis that uses quantified models and representations to analyze a set of experimental data or real-world research. The fundamental benefit of statistics is that information is provided in an easy-to-understand style.</p><h3>Statistical &amp; Non-Statistical Analysis</h3><p>Statistical analysis is used to better understand a wider population by analyzing data from a sample. Statistical analysis enables inferences about target markets, consumer cohorts, and the general population to be established by suitably expanding data to forecast the behavior and attributes of the many based on the few. Data is employed in statistical analysis because it may be combined from multiple sources to aid in the statistical analysis process.</p><p>Non-statistical sampling refers to the selection of a test group based on the examiner’s judgment rather than a formal statistical procedure. An examiner, for example, could use his or her own discretion to determine one or more of the following:</p><ul><li>The number of samples</li><li>Items are chosen for the test group</li><li>How are the outcomes assessed?</li></ul><p>Statistical Analysis is the science of collecting, exploring, and presenting large amounts of data to identify patterns and trends.</p><p>Non-Statistical Analysis provides information and includes text, sound, still images, and moving images.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*RzWlKYBJ488sQRzQ.png" /><figcaption>Statistical vs Non-Statistical Analysis</figcaption></figure><p>Statistical Analysis is also called Quantitative Analysis while Non-Statistical Analysis is termed Qualitative Analysis.</p><h3>Categories of Statistics</h3><p><em>Descriptive statistics is crucial before the process of inferential.</em></p><p>There are two types of statistics:</p><h4><strong>Descriptive statistics:</strong></h4><ul><li>Present, organize, summarize, and describe the collected data using the measures discussed throughout measures of center, measures of spread, the shape of our distribution, and outliers.</li><li>We can also use plots of our data to gain a better understanding.</li><li>Helps us organize data and focus on the main characteristics of the data.</li><li>Provides a summary of data numerically or graphically.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*PLfcJdiXX_fs9XDf.png" /><figcaption>Descriptive vs Inferential Statistics</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*nN8gpU2NuA8_AG0j.png" /><figcaption>Types of Statistics</figcaption></figure><h4><strong>Inferential statistics:</strong></h4><ul><li>This is where you run different tests and draw conclusions about your sample that we can impute to a larger population.</li><li>Performing inferential statistics well requires that we take a sample that accurately represents our population of interest.</li><li>It generalizes the larger dataset and applied probability theory to conclude.</li><li>It allows us to infer population parameters based on sample statistics and to model relationships within the data.</li><li><em>Note: Modelling allows us to develop mathematical equations which describe the inter-relationships among two or more variables.</em></li></ul><h3>Statistical Terminologies</h3><p>Statistics have been used in many sectors:</p><ul><li>Insurance</li><li>Stock Market</li><li>Genetics</li><li>Medical Studies</li><li>Shopping</li><li>Weather Forecasting</li></ul><p>There are various statistical terms that one should be aware of while dealing with statistics. Some of them are:</p><ol><li><strong>Population: </strong>A group from which data is to be collected.</li><li><strong>Sample: </strong>A sample is a subset of the population.</li><li><strong>Variable:</strong> A variable is a feature characteristic of any member of a population differing in quantity/quality from another member.</li><li><strong>Quantitative Variable: </strong>A variable differing in quantity. Example: weight of a person, number of people in a car, etc.</li><li><strong>Qualitative Variable: </strong>A variable differing in quality. Example: the color of the car, degree of damage to a car in an accident, etc</li><li><strong>Discrete Variable: </strong>A discrete variable is the one in which no value can be assumed between two given variables. Example: Number of children in a family</li><li><strong>Continuous Variable: </strong>A continuous variable is the one in which any value can be assumed between two given variables. Example: The time taken for a 100m race.</li></ol><h3>Types of Statistical Measure</h3><p>There are four types of statistical measures used to describe data:</p><h4><strong>The measure of Frequency:</strong></h4><ul><li>The frequency of the data indicates the number of occurrences of any particular data value in the given dataset.</li><li>The measure of frequency is number and percentage.</li></ul><h4><strong>The measure of Central Tendency:</strong></h4><ul><li>Central tendency indicates whether the data values accumulate in the middle of distribution or towards the end.</li><li>The measures of central tendency are Mean, Median, Mode.</li></ul><h4><strong>The measure of Spread:</strong></h4><ul><li>Spread describes how similar or varied the set of observed values are for a particular variable.</li><li>The measures of spread are Standard Deviation, Variance, and Quartiles.</li><li>The measure of spread is also called the measure of dispersion.</li></ul><h4><strong>The measure of Position:</strong></h4><ul><li>The position identifies the exact location of a particular data value in the given dataset.</li><li>The measure of position are Percentiles, Quartiles, and Standard Scores.</li></ul><p>There are various statistical terms that one should be aware of while dealing with statistics. Some of them are:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*k29_tLv1i14j3Afd.png" /><figcaption>Descriptive Statistics</figcaption></figure><h3>Hypothesis Testing</h3><p>Hypothesis Testing is an inferential statistical technique to determine whether there is enough evidence in the data sample to infer that a certain condition holds for the entire population.</p><p><strong>Steps:</strong></p><ol><li>Take a random sample.</li><li>Analyze the properties of the sample.</li><li>Test whether or not the identified conclusions correctly represent the population.</li><li>A hypothesis is generated about a population parameter.</li></ol><p>Two types of hypothesis:</p><h4><strong>Null Hypothesis (H0):</strong></h4><ul><li>The null hypothesis is assumed to be true unless there is strong evidence to the contrary.</li><li>No variation exists between the variables.</li><li>Example: A pharmaceutical company has introduced a medicine in the market for a particular disease and people have been using it for a considerable period of time, and it is generally considered safe.</li><li>If the medicine is proved to be safe then it is referred to as a null hypothesis.</li></ul><h4><strong>Alternative Hypothesis (H1):</strong></h4><ul><li>The alternative hypothesis is assumed to be true when the null hypothesis is proved false.</li><li>Example: In the above example, we should prove that the medicine is unsafe to reject the null hypothesis. If the null hypothesis is rejected, then an alternative hypothesis is used.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/464/0*_xIrpCCJdba7wMSq.png" /><figcaption>Null vs Alternate Hypothesis</figcaption></figure><h3>Variable Types</h3><p>Based on the nature of variables, variables are classified into four types:</p><h4><strong>Nominal variables:</strong></h4><ul><li>This has two or more categories and it is important to order the values.</li><li>Example: Gender and Blood Group</li></ul><h4><strong>Ordinal variables:</strong></h4><ul><li>This has values in a logical order. However, the relative distance between the two data values is not clear.</li><li>Example: Size of a coffee cup (S/M/L), ratings of the product (Good/Avg/Bad)</li></ul><h4><strong>Interval variables:</strong></h4><ul><li>With an interval scale, equal differences between scale values do not have equal quantitative meaning.</li><li>An interval scale provides more quantitative information than an ordinal scale. And interval scale does not have a true zero point.</li><li>Example: The Fahrenheit degree scale is used to measure temperature, the distance between two compartments in a train.</li></ul><h4><strong>Ratio variables:</strong></h4><ul><li>Ratio scales are similar to interval scales in that equal differences between scale values have equal quantitative meaning.</li><li>It has a true zero point.</li><li>Example: The system of inches is used with a common ruler.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/507/0*nGskeuV79U_QmQJ3.png" /><figcaption>Types of Variable</figcaption></figure><h3>Hypothesis Testing Procedure</h3><p>There are two Hypothesis Testing Procedures:</p><h4><strong>Parametric Tests:</strong></h4><ul><li>Traditional tests such as t-test or ANOVA are called parametric tests. They depend on the specification of a probability distribution except for a set of free parameters.</li><li>If the population information is known completely by its parameter, then it is a parametric test.</li></ul><h4><strong>Non-parametric Tests:</strong></h4><ul><li>If the population or parameter information is not known and still required to test the hypothesis of the population, then it is a non-parametric test.</li><li>They do not require any strict distributional assumptions.</li></ul><p><strong>Other Parametric tests:</strong></p><ul><li>t-test</li><li>ANOVA</li><li>Chi-square</li><li>Linear Regression</li></ul><p><em>Source: </em><a href="https://www.simplilearn.com/"><em>https://www.simplilearn.com/</em></a></p><p><em>Originally published at </em><a href="https://muskaanpirani.blogspot.com/2021/08/statistics-in-data-science.html"><em>https://muskaanpirani.blogspot.com</em></a><em> on August 16, 2021.</em></p><p><strong><em>About Author:</em></strong></p><p><em>Muskaan Pirani | </em><a href="https://www.linkedin.com/in/muskaanpirani/"><em>LinkedIn</em></a></p><p>Open-Source Contributor at <a href="https://medium.com/u/828dde08b9d3">GirlScript Foundation</a>| Data Science Track</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=277c1f9745bc" width="1" height="1" alt=""><hr><p><a href="https://medium.com/geekculture/statistics-in-data-science-277c1f9745bc">Statistics in Data Science</a> was originally published in <a href="https://medium.com/geekculture">Geek Culture</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why do we have fewer women in tech?]]></title>
            <link>https://medium.com/geekculture/women-in-tech-10012425345e?source=rss-938bd5b1e424------2</link>
            <guid isPermaLink="false">https://medium.com/p/10012425345e</guid>
            <category><![CDATA[women-tech-leadership]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[women-in-business]]></category>
            <category><![CDATA[women-in-tech]]></category>
            <dc:creator><![CDATA[Muskaan Pirani]]></dc:creator>
            <pubDate>Fri, 30 Jul 2021 05:39:37 GMT</pubDate>
            <atom:updated>2021-08-30T11:20:47.129Z</atom:updated>
            <content:encoded><![CDATA[<p>Women are effectively shattering the social barriers that formerly stood in their way in the tech field, standing alongside their male equivalents to generate remarkable results.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*C4kqt1_KV5I2MpsF" /><figcaption>Photo by <a href="https://unsplash.com/@mimithian?utm_source=medium&amp;utm_medium=referral">Mimi Thian</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Gone are the days when women were expected to stay at home and care for their children while their husbands went out to work. It’s fairly normal to see women in vibrant careers these days, with many women entering the technology sector not only to provide telecom and VPS hosting services but also to hold top positions in some of the world’s largest corporations — and it’s a delight to watch.</p><h3><strong>Most powerful women in tech</strong></h3><p>Women are practically smashing through the workplace diversity that formerly stood in their way, standing alongside their male equivalents to create remarkable outcomes in the realm of technology. Not only does their presence counteract the myth that technology-related career paths are only open to men, but it also gives the tech sector a far more relatable and down-to-earth feel, demonstrating that technology isn’t just about super-smart men coders, testosterone-fueled board meetings, and violent video games that are (dare we say) often thought to be more male-oriented.</p><p>It also urges folks who aren’t as tech-savvy to pay attention — after all, there’s some pretty incredible female empowerment and, at times, dominance going on here.</p><p>Sheryl Sandberg is one such example of a woman who is breaking down gender stereotypes and proving that chicas and computers can coexist. As Facebook’s COO and Forbes’ most strong figure in technology, she is a standout figure in the industry known for her hard work and $1.4 billion Business Empire.</p><p>She is a top executive of the world’s fifth most powerful brand, but she is also a proponent of female empowerment at work and shared duties at home. Sandberg is live evidence that women can succeed in technology, having helped increase Facebook’s revenue 66-fold since becoming COO in 2008.</p><p>Furthermore, Sandberg is just one of several women holding crucial positions inside prominent technological businesses, standing proudly beside YouTube CEO Susan Wojcicki and HP CEO Meg Whitman.</p><h3><strong>Positive impact on company profits</strong></h3><p>According to a 2016 Peterson Institute study, women and technology are a potent combination in business, with the inclusion of women in leadership roles having a beneficial influence on company earnings. The assessment of 21,980 organizations in 92 countries discovered that companies with at least two women in executive roles in the C-Suite (a company’s most important senior executives) and two women on boards of directors had higher turnover than those without this kind of diversity.</p><p>Why? It is believed that having both genders in high positions leads to a more inclusive business culture, which appears to be a powerful strategy for profitable growth.</p><p>A diverse environment is more balanced and purposeful, with shared leadership of both sexes adopting the following characteristics to bring out the best in their employees: empowerment, transparency, honesty, and boldness. Businesses that want to build an inclusive culture should seek out women leaders and ensure diversity is present in all areas of the workplace.</p><h3><strong>Women in tech statistics: The hard truths of an uphill battle</strong></h3><p>Diversity is important in technology because it allows companies to build safer and better products that include everybody, not just one segment of society. Furthermore, according to a McKinsey 2020 analysis, diverse firms outperform, recruit talented people, have a more motivated workforce, and retain people better than companies that do not promote diversity and inclusion. Despite this, women continue to be significantly underrepresented in IT positions.</p><p>Stats from the following nine aspects of IT work, ranging from university education to the professional workplace, offer a clear picture of the problems women face in achieving equality in a career in IT.</p><h4><strong>The employment gap</strong></h4><p>As per figures from the National Center for Women &amp; Information Technology, women represent 47 percent of all working individuals in the United States, yet they retain only 25 percent of computing roles as of 2015. (NCWIT). Asian women represent only 5% of the 25% of women who work in technology, while African American women constitute 3% and 1%, respectively. All this even though, according to Pew Research Center data, the expansion of STEM jobs has surpassed the growth of total employment in the country, expanding 79 percent since 1990 while overall employment has expanded 34 percent. Despite national debates about the lack of diversity in technology, women are disproportionately excluded from this surge.</p><p>Women now account for 34% of India’s IT industry, with most of these professionals under the age of 30. Certainly, the Indian IT labor force’s youth has considerably fueled its quick expansion, and the country is currently nearly at 50:50 gender balance in STEM graduates. The next difficulty is to maintain gender diversity in middle leadership and organizational positions. Given Indian economic policies, NASSCOM campaigns, and some of the remarkable work done by IT service businesses themselves, it will be fascinating to see if they can reproduce this achievement at the graduate level to keep the gender parity pace through the managerial levels.</p><p>Apart from the employment gap, women in tech vastly encounter gaps like degree gap, workplace-culture gap, representation gap, pandemic gap, founder gap, pay gap, leadership-in-IT gap, and many more.</p><p>To recapitulate, women have significantly improved many elements of technology to date and will continue to do this for several decades to come.</p><p><strong><em>About Author:</em></strong></p><p><em>Muskaan Pirani | </em><a href="https://www.linkedin.com/in/muskaanpirani/"><em>LinkedIn</em></a></p><p>Open Source Contributor <a href="https://medium.com/u/828dde08b9d3">GirlScript Foundation</a> | Data Science Track</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=10012425345e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/geekculture/women-in-tech-10012425345e">Why do we have fewer women in tech?</a> was originally published in <a href="https://medium.com/geekculture">Geek Culture</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[GPT-3 Explained in Under 3 Minutes]]></title>
            <link>https://muskaanpirani.medium.com/gpt-3-explained-in-under-3-minutes-a36d97a2a53e?source=rss-938bd5b1e424------2</link>
            <guid isPermaLink="false">https://medium.com/p/a36d97a2a53e</guid>
            <category><![CDATA[nlp]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[openai]]></category>
            <category><![CDATA[gpt-3]]></category>
            <dc:creator><![CDATA[Muskaan Pirani]]></dc:creator>
            <pubDate>Sun, 06 Jun 2021 07:40:00 GMT</pubDate>
            <atom:updated>2021-06-10T04:20:13.429Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/318/1*vDM_lMrjQX7DWpztGTbg9g.jpeg" /><figcaption>OpenAI GPT-3</figcaption></figure><p>So you’ve seen some incredible GPT-3 demos on Twitter (if you haven’t, where have you been?). OpenAI’s massive machine learning model is capable of writing its own op-eds, poetry, essays, and even working code:</p><blockquote><em>This is mind blowing.</em></blockquote><blockquote><em>With GPT-3, I built a layout generator where you just describe any layout you want, and it generates the JSX code for you.</em></blockquote><blockquote><em>W H A T </em><a href="https://t.co/w8JkrZO4lk"><em>pic.twitter.com/w8JkrZO4lk</em></a></blockquote><blockquote><em>- Sharif Shameem (@sharifshameem) </em><a href="https://twitter.com/sharifshameem/status/1282676454690451457?ref_src=twsrc%5Etfw"><em>July 13, 2020</em></a></blockquote><blockquote><em>Here’s </em><a href="https://twitter.com/hashtag/gpt3?src=hash&amp;ref_src=twsrc%5Etfw"><em>#gpt3</em></a><em> writing some SQL for me. </em><a href="https://t.co/JVeyijV2MX"><em>pic.twitter.com/JVeyijV2MX</em></a></blockquote><blockquote><em>- Ayush Patel (@ayushpatel34) </em><a href="https://twitter.com/ayushpatel34/status/1284810560555479043?ref_src=twsrc%5Etfw"><em>July 19, 2020</em></a></blockquote><blockquote><em>=GPT3()… the spreadsheet function to rule them all.</em></blockquote><blockquote><em>Impressed with how well it pattern matches from a few examples.</em></blockquote><blockquote><em>The same function looked up state populations, peoples’ twitter usernames and employers, and did some math. </em><a href="https://t.co/W8FgVAov2f"><em>pic.twitter.com/W8FgVAov2f</em></a></blockquote><blockquote><em>- 🍉 Paul Katsen (@pavtalk) </em><a href="https://twitter.com/pavtalk/status/1285410751092416513?ref_src=twsrc%5Etfw"><em>July 21, 2020</em></a></blockquote><p>To use GPT-3 right now, you must first seek to be whitelisted by OpenAI. However, the model’s possibilities seemed to be limitless-you could presumably use it to query a SQL database in plain English, automatically comment code, automatically generate code, make hot article headlines, post viral Tweets, and much more.</p><p>But what exactly is going on behind the hood of this remarkable vehicle? Here’s a (short) peek inside.</p><p>GPT-3 is a language model based on neural networks. A language model is a model that predicts how likely a statement is to appear in the real world. A language model can, for example, categorise the statement “I take my dog for a walk” as more likely to exist (i.e. on the Internet) than the statement “I take my banana for a stroll.” This holds true for both sentences and phrases, as well as any sequence of letters in general.</p><p>GPT-3 is beautifully trained on an unlabeled text dataset, as do other language models (in this case, the training data includes among others Common Crawl and Wikipedia). Words or phrases are removed at random from the text, and the model must learn to fill in the gaps using only the context provided by the surrounding words. It’s a straightforward training exercise that yields a powerful and generalizable model.</p><p>The GPT-3 model is a transformer-based neural network in and of itself. The prominent NLP model BERT and GPT-3’s predecessor, GPT-2, are based on this architecture, which gained popularity roughly 2–3 years ago. GPT-3 isn’t really innovative in terms of architecture! So, what makes it so enchanted?</p><p>IT’S VERY Huge. I’m talking about huge. It’s the largest language model ever constructed, with 175 billion parameters (an order of magnitude more than its nearest competitor! ), and it was trained on the largest dataset of any language model. This appears to be the primary reason GPT-3 sounds so intelligent and human.</p><p>But now comes the truly wonderful part. GPT-3 can accomplish what no other model can (well): do certain jobs without any extra tuning thanks to its enormous size. You can ask GPT-3 to be a translator, a programmer, a poet, or a famous novelist, and it can do it with fewer than 10 training examples provided by the user (you). Damn.</p><p>This is why machine learning practitioners are so enthusiastic about GPT-3. Other language models, such as BERT, necessitate a lengthy fine-tuning process in which you collect thousands of samples of French-English sentence pairings in order to educate it how to translate. To adapt BERT to a given task (such as translation, summarization, or spam detection), you must first locate a big training dataset (on the range of thousands or tens of thousands of examples), which can be difficult or impossible depending on the task. You won’t have to conduct any fine-tuning with GPT-3. This is the crux of the matter. People are thrilled about GPT-3 because it allows them to create new language problems without having to use any training data.</p><p>Today, GPT-3 is in private beta, you can get the API key by applying here: <em>https://share.hsforms.com/1Lfc7WtPLRk2ppXhPjcYY-A4sk30</em></p><p><em>Originally published at </em><a href="https://muskaanpirani.blogspot.com/2021/06/gpt-3-explained-in-under-3-minutes.html"><em>https://muskaanpirani.blogspot.com</em></a><em> on June 6, 2021.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a36d97a2a53e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Weather Forecast using Deep Learning Model Prophet]]></title>
            <link>https://medium.com/geekculture/weather-forecast-using-deep-learning-model-prophet-72bc878be48b?source=rss-938bd5b1e424------2</link>
            <guid isPermaLink="false">https://medium.com/p/72bc878be48b</guid>
            <category><![CDATA[fbprophet]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[weather-forecasts]]></category>
            <dc:creator><![CDATA[Muskaan Pirani]]></dc:creator>
            <pubDate>Thu, 13 May 2021 11:10:08 GMT</pubDate>
            <atom:updated>2021-05-15T20:47:57.842Z</atom:updated>
            <content:encoded><![CDATA[<p>How many times have you tried to predict the sales, the weather, or the stocks with good accuracy? Often times we may find a good Neural model yet we fail to tune its hyper-parameters. Here’s where the deep learning model, PROPHET will be useful for beginners in developing predictive models. Let’s begin!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/482/1*hA_V82IoUeGrfvYg1vnkwQ.png" /><figcaption>Prophet</figcaption></figure><p><strong>What is Prophet model?</strong></p><p>Prophet is estimating methodology executed in R and Python. It is quick and gives totally computerized gauges that can be tuned by hand by information researchers and examination.</p><p>Prophet is a procedure for forecasting time series data based on an additive model where non-linear trends are fit with yearly, weekly and daily seasonality, plus holiday effects. It works best with time arrangement that have solid occasional impacts and a few periods of authentic information. Prophet is vigorous to missing information and movements in the pattern, and ordinarily handles anomalies well. Prophet is open source programming delivered by Facebook’s Core Data Science group. It is accessible for download on CRAN and PyPI.</p><p><strong>Advantages of Prophet:</strong></p><p>1. Accurate and fast</p><ul><li>Prophet is utilized in numerous applications across Facebook for creating reliable forecasts for planning and goal setting.</li><li>They’ve discovered it to perform better compared to some other methodology in most of cases.</li></ul><p>2. Fully automatic</p><ul><li>Getting a reasonable forecast on messy data with no manual effort.</li><li>Prophet is robust to outliers, missing data, and dramatic changes in your time series.</li></ul><p>3. Tunable forecast</p><ul><li>The Prophet procedure includes many possibilities for users to tweak and adjust forecasts.</li><li>You can use human-interpretable parameters to improve your forecast by adding your domain knowledge.</li></ul><p>4. Available in R or Python</p><ul><li>Use whatever language you’re comfortable with to get forecasts.</li></ul><p><strong>Formula</strong></p><p><em>How does prophet equation works?</em></p><p>Breaking down the equation behind Facebook’s open-source Time Series Forecasting procedure.</p><p>The method utilizes a decomposable time arrangement model with three primary model segments: trend, seasonality and holidays.</p><p>y(t) = g(t) + s(t) + h(t) + e(t)</p><p>where:</p><ul><li>g(t): Trend models non-periodic changes i.e. growth over time</li><li>s(t): Seasonality presents periodic changes i.e. weekly, monthly, yearly</li><li>h(t): Ties in effects of holidays</li><li>e(t): Covers errors not accommodated by the model</li></ul><p><strong>Understanding the code:</strong></p><p><strong>1. Installing packages:</strong></p><pre>pip install chart_studio<br>pip install fbprophet</pre><p><strong>2. Importing libraries:</strong></p><pre>import pandas as pd<br>import numpy as np<br>import chart_studio.plotly as plotly<br>import plotly.figure_factory as ff<br>from plotly import graph_objs as go<br>from fbprophet import Prophet<br>from fbprophet.plot import plot_plotly</pre><p>3. Loading the dataset:</p><pre>df = pd.read_csv(‘/content/weather_temperature_yilan.csv’)<br>df.head()</pre><p>4. Plotting the original data:</p><pre>fig = go.Figure()</pre><pre>fig.add_trace(go.Scatter(x=df.Date, y=df[‘Temperature’], name=”temperature”,line_color=’green’))</pre><pre>fig.layout.update(title_text=’Time Series data with Rangeslider’,xaxis_rangeslider_visible=True)</pre><pre>fig</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*O3tQmYxg2wcZK3-D.PNG" /></figure><p>5. Dividing dataframe into X and y:</p><pre>X = df[[‘Date’, ‘Temperature’]]<br>y = df.iloc[:,1]</pre><p>6. Loading data into ‘ds’ and ‘y’:</p><pre>train_df = pd.DataFrame()<br>train_df[‘ds’] = pd.to_datetime(X[“Date”])<br>train_df[‘y’]=y<br>train_df.head(2)</pre><p>7. Applying and fitting Prophet model:</p><pre>model = Prophet()<br>model.fit(train_df)<br>future = model.make_future_dataframe(periods=365)<br>future.tail(2)</pre><p>8. Predicting the data:</p><pre>forecast = model.predict(future)<br>fig1 = plot_plotly(model, forecast)<br>fig1</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/639/0*yyoK-nm4SngMJO1O.PNG" /></figure><p>9. Component wise forecast:</p><pre>#plot component wise forecast<br>fig2 = model.plot_components(forecast)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/638/0*gX0ks0kz9JuWmyye.png" /></figure><p>With few lines of code, you can predict very well and also, we predicted it’s trend weekly, monthly and yearly. You can access the code from my GitHub profile: <a href="https://github.com/muskaanpirani/Weather_Forecast.git"><em>Weather_Forecast</em></a></p><p>Thanks for reading!</p><p>You can reach me on <a href="https://www.linkedin.com/in/muskaanpirani/">LinkedIn</a>, <a href="https://github.com/muskaanpirani">GitHub</a> and <a href="https://muskaanpirani.medium.com/">Medium</a> as well.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=72bc878be48b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/geekculture/weather-forecast-using-deep-learning-model-prophet-72bc878be48b">Weather Forecast using Deep Learning Model Prophet</a> was originally published in <a href="https://medium.com/geekculture">Geek Culture</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Exploratory Data Analysis with Python (Part 1)]]></title>
            <link>https://medium.com/swlh/exploratory-data-analysis-with-python-part-1-221d7e887959?source=rss-938bd5b1e424------2</link>
            <guid isPermaLink="false">https://medium.com/p/221d7e887959</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[exploratory-data-analysis]]></category>
            <category><![CDATA[data-vizualisation]]></category>
            <dc:creator><![CDATA[Muskaan Pirani]]></dc:creator>
            <pubDate>Fri, 27 Nov 2020 08:43:44 GMT</pubDate>
            <atom:updated>2020-11-28T19:03:12.484Z</atom:updated>
            <content:encoded><![CDATA[<p>How many times have you got baffled with the beginner part in Data Analysis? I am sure many times as I faced the same. So in this post, I will guide you as how to do Exploratory Data Analysis (EDA) with Python.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*UUBr8z921CsCU3Vl" /><figcaption>Photo by <a href="https://unsplash.com/@franki?utm_source=medium&amp;utm_medium=referral">Franki Chamaki</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>EDA is one of the basic steps involved in Data Analysis. Before you begin with the analysis part, understanding data is very important. You should be familier with certain terminologies of the type of data on which you are working. For instance, you are working with any financial data let’s say stocks and thus, you should be familier with terminologies like open, close, high, low, volume and so on. Alright, we now know understanding data is important so let’s move ahead with the analysis part!</p><h3>Why Data Analysis?</h3><p>To get inferences from the data and to know future possible outcomes based on historical values of any data. Continuing the above example, with analysis of certain stock, let’s say I analyzed performance of a particular stock from year 2000 to 2020. I will find certain trends in the graph of it’s everyday value. If it shows an upward trend (for major time) then I will like to invest in it, otherwise I will analyze other stocks.</p><p>An important thing to remember here is:</p><blockquote>Analysis is never done on basis of one or two parameters. There are lots of other parameters, might be 30, 40, 50 or any number.</blockquote><p>To begin with analysis part, EDA is first step. EDA helps to:</p><ol><li>Get inferences from the data.</li><li>To understand how parameters of data are inter-co-related.</li><li>To extract important parameters and neglecting ones which are not.</li><li>Find relationships between those parameters.</li><li>Try to bring a conclusion</li></ol><h3>Let’s get our hands dirty with data</h3><p>I will be using data provided by <a href="https://data.worldbank.org/topic/science-and-technology">World Bank Data</a> (Science and Technology Indicators). This dataset deals with every country in the world. So, I will be narrowing the data to India so as to get easy insights. You can download it from here: <a href="https://drive.google.com/file/d/19q9VGia1W-KHdCam5fkx9OEwxCDzAoxV/view?usp=sharing">Dataset(India)</a></p><p><strong>1. Importing packages</strong></p><ul><li>We will work with pandas, numpy, seaborn and matplotlib here for data analysis and visualizations.</li><li>We wrote <em>%matplotlib inline </em>to plot our graphs within the notebook.</li></ul><pre>#import packages<br>import pandas as pd<br>import numpy as np<br>import seaborn as sns</pre><pre>#To plot within notebook<br>import matplotlib.pylot as plt<br>%matplotlib inline</pre><p><strong>2. Loading the dataset and have overview of the data</strong></p><ul><li>Include file path in read_csv and df.head() will print first 5 rows of dataset.</li><li>I am using Google Collaboratory, hence we will write <em>‘/content/India.csv’</em> as file path.</li></ul><pre>df = pd.read_csv(&#39;/content/India.csv&#39;)<br>df.head()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0aMi0bQWvq9zHF-cEb-JMw.png" /><figcaption>Shows first five columns of datset</figcaption></figure><ul><li>To get shape of the date i.e. number of rows and columns we will use df.shape</li></ul><pre>df.shape</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/381/1*xjm23iLxWlpGDu2zFjm4jg.png" /><figcaption>41 rows with 9 columns</figcaption></figure><ul><li>To obtain the names of the columns we will write df.columns.values</li></ul><pre>df.columns.values</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/850/1*n1gJC2fklN0ePK3O3HQyJA.png" /><figcaption>Gives values of columns</figcaption></figure><ul><li>To find what all columns it contains, of what types and if they contain any value in it or not, with the help of info() function.</li></ul><pre>df.info()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/928/1*8TWQB0TvkcVfuab6dSfdaQ.png" /></figure><p><strong>3. Statistical values</strong></p><ul><li>describe() method will give us statistical values of all the columns individually.</li><li>We can get to know mean, standard deviation, quartiles, min, max, etc.</li></ul><pre>df.describe()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uBFQ4VrtCX3jKH5Aspm52Q.png" /></figure><ul><li>From above data, we can conclude that the mean value of first five columns is greater or equal to the median value (50%).</li><li>There is a relatively big difference between the 75% and max values of the columns.</li><li>Above two observations, gives an indication that there are deviations in our data set.</li></ul><p><strong>4. Pair Plot graph</strong></p><ul><li>sns.pairplot is used to view all the graphs with all the columns. So that we can get rough idea about how one column is related with the other.</li></ul><blockquote>EDA in one line of code: <strong>sns.pairplot(df)</strong></blockquote><pre>g = sns.pairplot(df)<br>g.fig.set_size_inches(20,20)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h0iYP2w-IXfS52iVwaFuig.png" /><figcaption>Pair plot</figcaption></figure><p><strong>5. Co-relation Matrix</strong></p><ul><li>Co-relation matrix is generally used for Linear Regression because it gives symmetric matrix.</li><li>We have used <em>annot=True</em>, for getting the values.</li><li>Values near to 1 shows positive co-relation, values close to -1 shows negative co-relation and 0 shows neutral relation.</li><li>Absolute 1 indicates fully positive relation while -1 shows no relationship exist.</li><li>Drawback of Co-relation matrix: It will not show us any columns with non-linear relationship.</li></ul><pre>dataset = df.corr()<br>dataset = pd.DataFrame(dataset)<br>dataset</pre><pre>plt.figure(figsize=(10, 5))<br>sns.set_style(&#39;whitegrid&#39;)<br>sns.heatmap(dataset, robust=True, annot=True)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/795/1*7WBljW8MHjVkR8IglpjSAA.png" /><figcaption>Heatmap</figcaption></figure><ul><li>From above we can see, there is a strong positive correlation of Inflation, average consumer prices and Inflation, end of period consumer prices.</li><li>However, a strong negative correlation of General Government net lending/borrowing and Year.</li></ul><p><strong>6. PPS Matrix</strong></p><ul><li>PPS stands for Predictive Power Score.</li><li>To overcome the drawback of co-relation matrix, we will use PPS matrix.</li><li>This matrix will also let us know about the non-linear relationships among variables. Hence, it will give us asymmetric matrix.</li><li>The values we get will be interpreted same as Co-relation Matrix.</li></ul><pre>pip install ppscore</pre><pre>import ppscore as pps<br>sns.set_style(&#39;whitegrid&#39;)<br>plt.figure(figsize=(10, 5))<br>matrix_df = pps.matrix(df).pivot(columns=&#39;x&#39;, index=&#39;y&#39;, values=&#39;ppscore&#39;)<br>sns.heatmap(matrix_df, annot=True, cmap=&#39;Blues&#39;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*OvNFHlSfr_LA2Rfaf8LqQg.png" /><figcaption>PPS Matrix</figcaption></figure><ul><li>For getting PPS value for a particular feature , we will write below line of code:</li></ul><pre>pps.predictors(df, &quot;Inflation, average consumer prices&quot;)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jrADlO4p7XCaIgpLl78F8A.png" /></figure><p>The analyzing part gets completed here. In <em>Exploratory Data Analysis with Python (Part 2),</em> we will see how to visualize the data.</p><p>I would like to end the post with a quote:</p><blockquote>Data is what you need to do analytics, information is what you need to do business.</blockquote><blockquote>— John Owen</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=221d7e887959" width="1" height="1" alt=""><hr><p><a href="https://medium.com/swlh/exploratory-data-analysis-with-python-part-1-221d7e887959">Exploratory Data Analysis with Python (Part 1)</a> was originally published in <a href="https://medium.com/swlh">The Startup</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>