<?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 Jennifer on Medium]]></title>
        <description><![CDATA[Stories by Jennifer on Medium]]></description>
        <link>https://medium.com/@aruljennifer2000?source=rss-44db1ac01ed4------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*oNQyVJSVSwWClWat</url>
            <title>Stories by Jennifer on Medium</title>
            <link>https://medium.com/@aruljennifer2000?source=rss-44db1ac01ed4------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 17:29:48 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@aruljennifer2000/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[How I Turned My Spotify History Into an Interactive Power BI Dashboard]]></title>
            <link>https://medium.com/@aruljennifer2000/how-i-turned-my-spotify-history-into-an-interactive-power-bi-dashboard-e67ea879de49?source=rss-44db1ac01ed4------2</link>
            <guid isPermaLink="false">https://medium.com/p/e67ea879de49</guid>
            <dc:creator><![CDATA[Jennifer]]></dc:creator>
            <pubDate>Mon, 26 May 2025 19:15:04 GMT</pubDate>
            <atom:updated>2025-05-26T19:15:04.715Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2-_c1bjaXiEGMRwQ-4bZNA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ewwO0_faHNyROv6jFQGvLA.png" /></figure><p>Spotify has been my constant companion for years — through workouts, late-night work sprints, and weekend chill sessions. But one day, I thought: <em>What if I could turn my listening history into a full-blown data story?</em></p><p>That’s how this project began.</p><p>I wanted to visualize my listening behavior — see which artists dominated my months, how my music taste evolved, and what time of day I listened to music most. The end result? A fully interactive <strong>Spotify Listening Analysis Dashboard</strong> built using <strong>Power BI</strong>, and I’m sharing the journey here.</p><h3>What Was I Trying to Achieve?</h3><p>Honestly, I was just curious. I’d exported my listening data from Spotify (which they let you do from your account settings), and once I opened the CSV file, I saw a goldmine:</p><ul><li>Track names</li><li>Artists</li><li>Albums</li><li>Timestamps</li><li>Playback duration</li></ul><p>It clicked immediately — I could slice and dice this data to get real answers to questions like:</p><ul><li>Who are my top 5 most played artists?</li><li>Which albums dominated my weekends?</li><li>Do I listen more at night or during the day?</li><li>Are there songs I keep repeating but only for a few seconds?</li></ul><p>So I got to work.</p><h3>Tools I Used</h3><ul><li><strong>Power BI</strong> — My go-to for building dashboards</li><li><strong>Excel</strong> — For initial data cleaning</li><li><strong>Spotify Exported CSV</strong> — The raw data source (playback history)</li></ul><h3>Steps I Followed (In My Own Workflow)</h3><p>Here’s how I broke it down step by step:</p><ol><li><strong>Requirement Gathering</strong> — Yes, I treated myself like a stakeholder. What do I want to see in the end product?</li><li><strong>Data Cleaning</strong> — Some tracks had missing names or zero duration. Cleaned those out in Excel.</li><li><strong>Data Modeling</strong> — I split the timestamp into multiple fields (hour, day, month, year) to analyze patterns.</li><li><strong>DAX Measures</strong> — Created calculations for metrics like total duration, count of plays, average listening time.</li><li><strong>Visualization</strong> — Used a dark-themed layout to match Spotify’s UI. Built heat maps, donut charts, scatter plots, and grids.</li><li><strong>Drill-Through &amp; Drill-Down</strong> — Enabled deep exploration, like clicking on an artist to see their top tracks.</li></ol><h3>Features I Built (And Loved)</h3><h3>1. Listening Hour Heat Map</h3><p>One of my favorite visuals. I built a <strong>heat map by hour and day</strong> to see when I listen to music the most. Turns out, <strong>late evenings and early mornings</strong> are my peak hours. Sunday nights are surprisingly intense too.</p><h3>2. Track Engagement Analysis</h3><p>I wanted to go beyond just “top songs.” So I plotted <strong>Average Listening Time vs Frequency</strong> using a scatter plot. Then I grouped tracks into quadrants like:</p><ul><li>🎯 High Frequency, High Duration → Most engaging</li><li>🌱 Low Frequency, High Duration → Niche but meaningful</li><li>🔁 High Frequency, Low Duration → Skipped often</li><li>👻 Low Frequency, Low Duration → Practically ignored</li></ul><p>It told me more than a basic ranking ever could.</p><h3>3. Top Artists, Albums, and Tracks</h3><p>Of course, I had to include leaderboards. I used <strong>horizontal bar charts</strong> for the top 5 across categories. No surprise — <strong>The Beatles and John Mayer</strong> kept showing up across albums and artists.</p><h3>4. Year-on-Year Growth Comparison</h3><p>I included a comparison between the latest year and previous year (YoY), so I could track whether I’ve increased or decreased in listening habits. Added KPIs with conditional formatting to highlight growth or drop.</p><h3>5. Weekday vs Weekend Split</h3><p>Another pattern I spotted: I listen to <em>longer playlists on weekends</em> but <em>repetitive tracks on weekdays</em>. That insight came from comparing listening counts and durations between weekends and weekdays across albums and artists.</p><h3>Business Requirements I Framed (Yes, I Treated It Like a Real Client)</h3><p>Just to practice working like in a real project, I created internal requirements like:</p><ul><li>A <strong>grid view</strong> showing Album, Artist, Track</li><li>Support for <strong>drill-throughs</strong> to detailed reports</li><li><strong>Hierarchical navigation</strong> (Album → Artist → Track)</li><li>Export option for filtered views</li></ul><p>This helped me build the dashboard with a proper structure instead of just stacking visuals.</p><h3>Insights That Surprised Me</h3><ul><li>I skip more tracks than I thought, especially during short breaks</li><li>There’s a huge drop in new artists during the middle of the year — probably when I just listen to favorites on loop</li><li>My weekend album preference shifts drastically compared to weekdays</li></ul><h3>What’s Next?</h3><p>There’s still so much I want to add:</p><ul><li>Integrate <strong>Spotify API</strong> for live tracking</li><li>Do <strong>sentiment analysis</strong> if I can find the lyrics</li><li>Add a <strong>playlist mood tracker</strong> using song energy and tempo</li></ul><h3>How You Can Try This</h3><p>If you want to build something similar, here’s what to do:</p><ol><li>Go to your Spotify account → Settings → Download your data</li><li>Extract the spotify_history.csv</li><li>Open Power BI and load the file</li><li>Start slicing your timestamps, apply filters, and get creative with visuals!</li></ol><h3>Final Thoughts</h3><p>This wasn’t just a dashboard. It was a data-driven reflection of my music journey. If you’re someone who loves music and data, trust me — building something like this feels personal and powerful.</p><p>If you’ve built something similar or want to, drop a comment or message. Let’s connect over beats and bytes. 🎶</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e67ea879de49" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Deep Dive into India’s Quick-Commerce Revolution]]></title>
            <link>https://medium.com/@aruljennifer2000/a-deep-dive-into-indias-quick-commerce-revolution-3ab3aee0ae9e?source=rss-44db1ac01ed4------2</link>
            <guid isPermaLink="false">https://medium.com/p/3ab3aee0ae9e</guid>
            <dc:creator><![CDATA[Jennifer]]></dc:creator>
            <pubDate>Mon, 26 May 2025 18:58:38 GMT</pubDate>
            <atom:updated>2025-05-26T18:58:38.938Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*e8A1gL8KCr6zQisXC61L9A.jpeg" /></figure><p>It’s a regular Tuesday evening in Bangalore. I’m halfway through cooking dinner when I realize I’m out of tomatoes. Instead of rushing to the nearest store, I open the Blinkit app. In under 15 minutes, My doorbell rings with my delivery.</p><p>This kind of convenience is what Blinkit promises <strong>instant gratification in grocery shopping</strong>. But behind the scenes, ensuring this seamless experience requires <strong>precise data orchestration</strong> across inventory, outlet performance, customer behavior, and product preferences.</p><p>This is where my project comes in: a comprehensive <strong>Power BI dashboard</strong> designed to visualize and decode the business dynamics of Blinkit’s operations.</p><h3>Why I Picked This Project</h3><p>I wanted to simulate something as close as possible to a real-world business scenario — where data isn’t just numbers, but a tool for decision-making. I imagined I was part of Blinkit’s operations or analytics team, and the ask was simple</p><blockquote><em>“Give us a snapshot of what’s happening across our outlets, products, and customers. Help us find what’s working and what’s not.”</em></blockquote><p>With that in mind, I created a dashboard that gives a bird’s eye view of Blinkit’s key metrics, with the flexibility to drill into product categories, outlet performance, fat content, and sales over time.</p><h3>The Problem Statement</h3><p>With rapid expansion comes a challenge — <strong>how do you make sense of thousands of product SKUs, outlet locations, and customer preferences, across time?</strong></p><p>The stakeholders at a quick-commerce company need quick, actionable answers to questions like:</p><ul><li>What’s selling the most and where?</li><li>Are high-fat or low-fat products preferred?</li><li>Which outlets are top performers?</li><li>How do outlet size and location affect sales?</li><li>Are customer satisfaction metrics improving?</li></ul><p>These aren’t just data points — they’re <strong>decisions waiting to be made</strong>.</p><h3>🧾 The Dataset I Used</h3><p>This was a simulated dataset I prepared based on how Blinkit operates:</p><ul><li>Order IDs and timestamps</li><li>Item types and categories (Fruits, Snacks, Household, etc.)</li><li>Fat content levels (Low Fat, Regular)</li><li>Outlet sizes, tiers, and types</li><li>Sales value, number of items sold</li><li>Customer ratings</li></ul><p>In total, it had <strong>8,500+ rows</strong> of data. I used <strong>Excel</strong> for initial cleaning and <strong>Power BI</strong> for modeling, DAX calculations, and dashboard building.</p><h3>The Tools</h3><ul><li><strong>Microsoft Excel</strong>: Data cleaning and restructuring</li><li><strong>Power BI</strong>: For all data modeling, DAX measures, interactive visuals, and final dashboard delivery</li></ul><h3>The Dashboard — From Raw Data to Real Decisions</h3><p>Let me walk you through what the dashboard reveals — imagine you’re the regional manager at Blinkit reviewing this for your monthly ops meeting.</p><h4>The KPIs (Top Panel)</h4><ul><li><strong>$1.20M</strong> — Total Sales across all outlets</li><li><strong>8523</strong> — Number of Items Sold</li><li><strong>$141</strong> — Average Sales per Outlet</li><li><strong>3.9 Stars</strong> — Average Customer Rating</li></ul><p>These KPIs give you an instant snapshot of business health.</p><h4>1: What Are People Buying?</h4><p>The <strong>Item Type bar chart</strong> breaks it down. <strong>Fruits &amp; Vegetables</strong> take the top spot with $178K in sales, followed by <strong>Snacks</strong> and <strong>Household items</strong>. Interestingly, <strong>Seafood</strong> and <strong>Breakfast items</strong> are the least performing — perhaps due to supply chain or demand issues.</p><p>This tells the category team where to double down and where to re-evaluate product listings.</p><h4>2: Does Fat Content Matter?</h4><p>Yes, it does. A donut chart breaks down the $1.2M total sales by fat content:</p><ul><li><strong>Regular Fat</strong>: $776K</li><li><strong>Low Fat</strong>: $425K</li></ul><p>Despite the health trends, customers still prefer regular-fat items. This is critical for inventory and marketing teams crafting “health-focused” campaigns.</p><h4>3: Outlet Performance by Tier</h4><p>Bar charts show how <strong>Tier 3 outlets outperform others</strong> with over $472K in sales. These are likely in high-demand localities where Blinkit’s fast delivery model thrives.</p><ul><li>Tier 3: High performance</li><li>Tier 2: Moderate</li><li>Tier 1: Low</li></ul><p>This insight helps in planning future outlet openings and resource allocations.</p><h4>4: Time Travel Through Sales Trends</h4><p>A line chart of <strong>Outlet Establishment Sales</strong> from 2010–2022 reveals a peak in 2018 ($205K), followed by stabilization. This might correlate with major marketing pushes or the launch of new zones.</p><p>You can clearly see the <strong>evolution of the business</strong> over the years — useful for long-term strategy planning.</p><h4>5: Outlet Type Summary Table</h4><p>This table compares four types:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MoicWT-xrdZtLSB0KChS4Q.png" /></figure><p>Despite varying total sales, <strong>customer ratings remain consistent</strong>, suggesting overall operational quality is well maintained.</p><h3>Why This Dashboard Matters</h3><p>This dashboard isn’t just for analysts. It’s designed to be used by:</p><ul><li><strong>Business Heads</strong> to identify what’s working</li><li><strong>Category Managers</strong> to adjust SKUs</li><li><strong>Logistics Teams</strong> to monitor outlet performance</li><li><strong>Marketing Teams</strong> to target the right segments</li></ul><p>The interactive filters (Outlet Location, Item Type, Fat Content) allow users to <strong>customize views</strong> based on their function and need.</p><h3>Learnings and Takeaways</h3><ul><li>Visualization helps untangle complex interdependencies in retail data</li><li>Tier-based performance and product fat content are strong levers for revenue</li><li>A well-designed dashboard speaks for itself — no explanation needed in meetings</li></ul><h3>What I Learned</h3><p>Building this dashboard wasn’t just a data exercise. It felt like solving a real business puzzle. Here’s what stood out:</p><ul><li><strong>Data modeling is everything.</strong> The more time I spent getting the relationships right in Power BI, the smoother everything worked.</li><li><strong>A story beats stats.</strong> Anyone can make a bar chart, but connecting the dots and finding meaning is what makes it useful.</li><li><strong>Design matters.</strong> I kept the UI clean, used uniform colors, and made</li></ul><h3>Conclusion</h3><p>This project helped me get into the mindset of a data analyst in a fast-growing company. It wasn’t just about the visuals — it was about thinking, “What would I want to see if I was leading this team?”</p><p>If you’ve worked on something similar or have thoughts on quick-commerce trends, I’d love to hear your take!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3ab3aee0ae9e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Smart Signals for a Smarter Bengaluru:Optimizing Urban Traffic Flow with Data Science]]></title>
            <link>https://medium.com/@aruljennifer2000/smart-signals-for-a-smarter-bengaluru-optimizing-urban-traffic-flow-with-data-science-38eb4edb549d?source=rss-44db1ac01ed4------2</link>
            <guid isPermaLink="false">https://medium.com/p/38eb4edb549d</guid>
            <dc:creator><![CDATA[Jennifer]]></dc:creator>
            <pubDate>Thu, 22 May 2025 16:35:37 GMT</pubDate>
            <atom:updated>2025-05-23T04:54:05.461Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*8CyhahkKofJi1hcO" /></figure><h3><strong>Introduction</strong></h3><p>As a mathematics student turned data Analyst, I’ve always been curious about how numbers can shape smarter cities. One of the biggest pain points in any urban environment especially in Bengaluru is traffic congestion. And while flyovers and roads expansions help, the real solution lies in smart signal timing. This blog explores how data science can help optimize traffic signal operations by analyzing real-time vechile flow and adjusting signal durations accordingly.</p><h3>The Problem</h3><p>In most cities, traffic signals operate on static timers. But traffic isn’t static it peaks during certain hours, varies by location, and responds to unpredictable conditions like weather or events.</p><p>So, the question becomes:</p><p><strong>Can we predict optimal green signal durations based on traffic patterns to reduce congestion and idle time?</strong></p><h3>Dataset Overview</h3><p>For this project, I simulated a dataset for 7 major junctions in Bengaluru using historical traffic behavior. Each record includes:</p><ul><li><strong>Junction ID</strong></li><li><strong>Timestamp</strong> (every 15 minutes)</li><li><strong>Vehicle count</strong> from North, South, East, and West</li><li><strong>Signal duration</strong> (green light time)</li></ul><p>From these, I derived total vehicle flow and time-based groupings for analysis.</p><p>📥 <strong>You can download the dataset </strong><a href="http://&/#39;/Users/jennifer/Desktop/Smart%20Traffic/bengaluru_traffic_signal_data.csv&#39;"><strong>CSV</strong></a></p><p>Now that we have our dataset, let’s begin the process by setting up our environment. First, we’ll import the necessary Python libraries and load the dataset.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4L-lyYpYi6JC6r8g6_Bk6g.png" /></figure><p>With our data loaded, we’re ready to start analyzing the <strong>Bengaluru Traffic</strong> <strong>Signal </strong>and uncover insights to improve its operations. Let’s move to the next step!</p><h3>Analyzing Bengaluru Traffic Signal</h3><p>Now that we have loaded our dataset, let’s analyze how the Bengaluru traffic signal duration alotted. We will start by:</p><p>✅ Analyze average signal per day and its time duration<br>✅ Analyze the traffic area and no of vechicle count by time of day</p><p><strong>Step 1: Average Total Vehicles per Hour</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9uJttsYlJ76TGOJe8mcN8Q.png" /></figure><p><strong>Hourly Vehicle Trends:</strong></p><ul><li>Line plots show how total traffic volume changes throughout the day.</li><li>Morning and evening hours typically see higher vehicle counts.</li></ul><p><strong>Step 2: Average Signal Duration per Hour</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ooy26M1vUeAJe0w-3-HxLQ.png" /></figure><p><strong>Signal Duration Patterns:</strong></p><ul><li>Another line plot tracks average signal duration hour by hour.</li><li>Adjustments align closely with traffic peaks.</li></ul><p><strong>Step 3: Average Vehicle Count by Time of Day</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ztIEyA7xmO6yLPf4clxn6w.png" /></figure><p><strong>Day-Part Comparisons:</strong></p><ul><li>Bar plots break down vehicle flow and signal timings across parts of the day (Morning, Midday, Evening, etc.)</li></ul><p><strong>Step 4: Average Signal Duration by Time of Day</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5T0wRVISAagMaRkgea9UQA.png" /></figure><p><strong>Junction-Level Analysis:</strong></p><ul><li>A table shows average traffic volume and signal duration for each junction.</li></ul><h3>Exploratory Data Analysis (EDA) Insights</h3><h4>1. Hourly Vehicle Flow</h4><p>I grouped the vehicle count by hour across all junctions. Unsurprisingly, traffic starts building up after 7 AM, peaks during 9–11 AM, then again during the evening from 5–8 PM.</p><h4>2. Signal Duration Across Hours</h4><p>I noticed signal durations are slightly longer during peak hours. However, in some cases, signal duration did not scale proportionally with vehicle count — a key opportunity for optimization.</p><h4>3. Traffic by Time of Day</h4><p>Breaking down traffic into time intervals (Morning, Midday, Evening, etc.), I observed:</p><p><strong>Morning (6–10 AM)</strong>: Highest flow</p><p><strong>Midday (10 AM–4 PM)</strong>: Stable, but relatively lower</p><p><strong>Evening (4–8 PM)</strong>: Second peak</p><p><strong>Late Night</strong>: Minimal traffic</p><h3>Model Building: Predicting Green Signal Duration</h3><p>I framed this as a regression problem:</p><p><strong>Input Features</strong>:</p><ul><li>Vehicle counts from all directions</li><li>Hour of the day</li></ul><p><strong>Target</strong>:</p><ul><li>Optimal green signal duration</li></ul><p>I used a <strong>Random Forest Regressor</strong> to train the model.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AAr3P8AUs3mnGCAq_xdK7A.png" /></figure><p>The model gave a <strong>Mean Absolute Error of ~5 seconds</strong>, suggesting it’s effective in recommending real-time signal durations.</p><h3>Optimization Scenario: Smarter Traffic Flow</h3><p>I created a hypothetical strategy:</p><ul><li><strong>+20% increase in duration during peak hours</strong></li><li><strong>−10% during off-peak hours</strong></li></ul><p>This resulted in:</p><ul><li>Better resource allocation</li><li>Reduced wait time during rush hours</li><li>Lower energy usage during low-traffic periods</li></ul><h3>Conclusion</h3><p>This project showed how even a simulated dataset can reveal actionable insights. With real-time data from sensors and GPS, this model can be scaled across cities to drive smarter mobility.</p><p><strong>Mathematics + Data = Smarter Roads<br>Smart Signals = Less Waiting, Better Living</strong></p><p>I hope you found this blog insightful! I’d love to hear your thoughts!</p><p>The full project link is on my <a href="https://github.com/Jennifer-Robin/Machine_Learning/tree/main/Smart%20Traffic">GITHUB</a></p><p>This project was shaped by countless hours of analyzing traffic patterns, tuning models, and visualizing vehicle flows — all powered by late-night focus and a dash of data science magic from Imarticus Learning!</p><p>Big thanks to <strong>Imarticus Learning</strong> for equipping me with the skills to turn real-world traffic data into smarter, actionable insights for urban mobility.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=38eb4edb549d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Zomato Restaurant Popularity Prediction]]></title>
            <link>https://medium.com/@aruljennifer2000/zomato-restaurant-popularity-prediction-38d38383717f?source=rss-44db1ac01ed4------2</link>
            <guid isPermaLink="false">https://medium.com/p/38d38383717f</guid>
            <dc:creator><![CDATA[Jennifer]]></dc:creator>
            <pubDate>Fri, 21 Mar 2025 12:59:30 GMT</pubDate>
            <atom:updated>2025-03-22T08:12:21.603Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Problem Statement: </strong>Restaurant Popularity Prediction</p><h4>Objective:</h4><p>Predict the aggregate rating of a restaurant based on factors such as its location, cuisine, price range, delivery options, and other available features.</p><h4>Problem Description:</h4><p>Restaurants often depend on customer reviews to draw in new visitors and enhance their services. Analyzing the features contributing to a restaurant’s popularity can help them optimize their offerings and marketing strategies. Using the given dataset, the goal is to build a regression model that predicts the aggregate rating of a restaurant. This rating can then guide restaurant owners to make data-driven decisions.</p><p><strong>Features in the Dataset:</strong></p><ol><li>Restaurant ID &amp; Name: Unique identifiers for each restaurant.</li><li>Country Code &amp; City: Geographic location data.</li><li>Locality &amp; Address: Specific address and area details.</li><li>Longitude &amp; Latitude: Geographic coordinates.</li><li>Cuisines: Type of cuisine(s) offered.</li><li>Currency: The currency used for transactions.</li><li>Has Table Booking: Indicates whether table booking is available.</li><li>Has Online Delivery: Indicates whether online delivery is available.</li><li>Is Delivering Now: Current delivery status.</li><li>Price Range: Price level of the restaurant.</li><li>Aggregate Rating (<strong>Target Variable</strong>): Overall rating of the restaurant by customers.</li><li>Rating Color &amp; Text: Visual and textual representations of the rating.</li><li>Votes: Number of customer votes received.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*y_REJRpZs69I7jFozGoXgw.png" /></figure><h4>Loading the libraries:</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ayWPff_5UPn5mJenJIT9eg.png" /></figure><p>I have two datasets. The first dataset contains various restaurant-related features, while the second dataset includes the country information, which is crucial for identifying the country with the highest Zomato usage. I merged these datasets into a single dataframe, <strong>df</strong>, which consists of <strong>9551 restaurant records</strong> and <strong>22 features.</strong></p><h4><strong>Checking Null values:</strong></h4><p>I checked for null values in the dataset, and only the <strong>Cuisines</strong> feature has missing values. To handle this, I replaced the null values with the <strong>mode</strong> (the most frequently occurring value)</p><h4><strong>Checking Data duplication</strong>:</h4><p>I checked for duplicate values in the dataset, and there are none.</p><h4>Correlation:</h4><p>We use correlation in this dataset to identify the relationships between variables and understand how changes in one variable might influence others, especially the target variable (aggregate rating). This insight helps in feature selection, guiding us on which features are more important for the model and should be prioritized.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*soG3DZG_9t0nWWhVy8Ac1g.png" /></figure><h4>Observation</h4><h4>1. Strongest Correlations</h4><p>Price Range and Aggregate Rating (0.437944): Indicates a moderate positive correlation. Higher price ranges tend to be associated with better aggregate ratings, possibly due to premium services or higher-quality offerings. Votes and Aggregate Rating (0.313691): Shows a moderate positive correlation. Restaurants with higher votes often receive better ratings, reflecting customer satisfaction and engagement.</p><h4>2.Moderate Correlations</h4><p>Price Range and Votes (0.309444): Suggests that restaurants with higher price ranges receive more votes. This could indicate that premium or high-cost restaurants attract more customer attention. Country Code and Aggregate Rating (0.282189): Reflects that location (country) plays a role in determining aggregate ratings. Some regions might have inherently higher-rated restaurants due to cultural preferences or quality standards.</p><h4>3. Weak/Negligible Correlations</h4><p>Latitude and Aggregate Rating (0.000516): Virtually no correlation. The geographic latitude of a restaurant does not influence its ratings. Longitude and Aggregate Rating (-0.116818): Weak negative correlation. The longitude might have a slight influence due to clustering of restaurants in specific regions, but it’s minimal.</p><h4>4.Negative Correlations</h4><p>Restaurant ID and Aggregate Rating (-0.326212): A moderate negative correlation. This might indicate that newer restaurants (higher IDs) generally have lower ratings, possibly due to fewer votes or less experience. Restaurant ID and Votes (-0.147023): Weak negative correlation. Older restaurants (lower IDs) might have accumulated more votes over time.</p><h4><strong>Univariate &amp; bi-variate Analysis</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-fncuCH-nUHOrH2nDLBOIA.png" /></figure><h4>Observations:</h4><p>Boxplot Analysis of “Aggregate rating”,</p><p>Median Rating (~3.5):The middle line in the box represents the median (around 3.5), meaning 50% of restaurants have ratings below this value.</p><p>Interquartile Range (IQR):The box extends from Q1 (2.5) to Q3 (4.5), meaning most ratings fall between this range.Restaurants typically have ratings between 2.5 and 4.5.</p><p>Outliers:A single low outlier (~0) is present. This could be restaurants that received no reviews or extremely poor ratings.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YuQHcUNqbq1iaWm128jmGA.png" /></figure><h4>Observation:</h4><p>There is a large spike at 0 (many restaurants have no ratings).</p><p>The second peak is around 3–4.5, meaning most rated restaurants have average to good ratings.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f0Qn_Ryh8bFqdFbFJY4qiQ.png" /></figure><h4><strong>Observation:</strong></h4><p>According to the above plot, <strong>Zomato usage is highest in India.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rPFdk1G2rnbUntOW5YL9Kg.png" /></figure><h4><strong>Observation:</strong></h4><p>Here, the visualization shows whether Zomato restaurants provide table booking or not. From the above plot, <strong>1,000+ restaurants worldwide offer online table bookings, while more than 8,000 restaurants do not.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Z9c6cN-oFg8lqxabbD3e9Q.png" /></figure><h4><strong>Observations:</strong></h4><p>Here, the visualization shows whether Zomato restaurants provide online delivery or not. From the above plot, <strong>7000+ restaurants in the dataset worldwide offer online delivery, while more than 2000 restaurants do not.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jE2ZrcTe6rw6r4cMcrcHhg.png" /></figure><h4>Observation:</h4><p>Zomato maximum records or transaction are from India ,After that USA and then United Kingdom.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Wc1Iltp8WQNuOh9JHr7ZIA.png" /></figure><h4><strong>Observation</strong>:</h4><p>The person who Not rated count is very high,maximum number of ratings are between 2.5 to 3.4.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gYwfRqxCSVIcfmIFck8o8Q.png" /></figure><p>Here, I am analyzing which restaurants are most preferred by customers in the given dataset. Based on my analysis, <strong>Café Coffee Day and Domino’s Pizza are the most popular restaurants among customers.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0sfCPo1D4Q6RvYc5-Z9GEA.png" /></figure><h4><strong>Observations:</strong></h4><p>We already know that <strong>India has the highest Zomato usage.</strong> According to the above observation, <strong>Delhi has the highest number of Zomato customers in India.</strong></p><h3><strong>Encoding:</strong></h3><p>Here, I am using <strong>label encoding</strong> because the dataset contains a large number of categorical features.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YiLDldgrKGoXSC8FLEIJHQ.png" /></figure><h4><strong>Model Building</strong>:</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cA8vI6nMEIQGu1Lrpk2tZQ.png" /></figure><p>Here, I assign <strong>X</strong> as the <strong>independent variables</strong> and <strong>y</strong> as the <strong>dependent variable.</strong></p><h4><strong>Machine Learning Models:</strong></h4><p>In this analysis, I explored different machine learning models to predict restaurant-related attributes using Zomato’s dataset. The models implemented include:</p><ol><li><strong>Linear Regression</strong></li><li><strong>Decision Tree Regressor</strong></li><li><strong>Random Forest Regressor</strong></li></ol><p>Each model was evaluated based on its performance using the R² score, which measures how well the model explains the variance in the dataset.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*J7yffxRke-zj6oOa04Mp2Q.png" /></figure><h3>1. Linear Regression</h3><p>Linear Regression is a fundamental algorithm used for predicting continuous values by establishing relationships between independent and dependent variables.</p><p><strong>Observations:</strong></p><ul><li>The <strong>Training R² Score</strong> was <strong>0.486</strong>, meaning the model explained about <strong>48.6%</strong> of the variance in the training dataset.</li><li>The <strong>Testing R² Score</strong> was <strong>0.499</strong>, which is slightly higher than the training score. This is unusual but not necessarily problematic. It might indicate some randomness in the dataset or inadequacy in capturing relationships during training.</li></ul><p><strong>Conclusion:</strong> Linear Regression provided a moderate performance but was not highly effective in capturing complex patterns in the data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oAw2RDkUT-ecyvCX594grg.png" /></figure><h3>2. Decision Tree Regressor</h3><p>Decision Trees work by splitting the dataset into branches based on feature values to make predictions.</p><p><strong>Observations:</strong></p><ul><li>The <strong>Training R² Score</strong> was <strong>1.0</strong>, meaning the model perfectly predicted the training data.</li><li>The <strong>Testing R² Score</strong> was <strong>0.978</strong>, which is very high, indicating strong predictive performance.</li><li>The perfect training score suggests <strong>overfitting</strong>, meaning the model memorized the training data instead of generalizing well.</li></ul><p><strong>Conclusion:</strong> While the Decision Tree model performed exceptionally well, the risk of overfitting makes it less reliable for real-world predictions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*chYNAyMSX-MUbRioUzQQkg.png" /></figure><h3>3. Random Forest Regressor</h3><p>Random Forest is an ensemble method that improves prediction by averaging multiple decision trees to reduce variance.</p><p><strong>Observations:</strong></p><ul><li>The <strong>Training R² Score</strong> was <strong>0.981</strong>, indicating strong learning capability.</li><li>The <strong>Testing R² Score</strong> was <strong>0.982</strong>, suggesting excellent generalization to unseen data.</li><li>Unlike the Decision Tree model, Random Forest reduces overfitting by averaging multiple trees.</li></ul><p><strong>Conclusion:</strong> The Random Forest Regressor outperformed the other models with high accuracy and strong generalization. It is the most suitable model for this dataset.</p><h3><strong>Conclusion about this Zomato Analysis:</strong></h3><p>Restaurants heavily depend on customer ratings to attract new patrons and refine their services. By analyzing the dataset, we identified key features such as price range, votes, and location as significant factors influencing aggregate ratings. Using regression models, we successfully predicted restaurant ratings with high accuracy, with the Random Forest Regressor emerging as the best-performing model, achieving an R² score of 0.982 on test data. This model provides restaurant owners with a powerful tool to predict ratings and understand customer preferences. Insights derived from the model can guide strategic decisions in pricing, service enhancements, and targeted marketing, ultimately enabling restaurants to improve customer satisfaction and competitiveness.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=38d38383717f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[LAMBDA FUNCTION IN PYTHON]]></title>
            <link>https://medium.com/@aruljennifer2000/lambda-function-in-python-95bb2eddcd7b?source=rss-44db1ac01ed4------2</link>
            <guid isPermaLink="false">https://medium.com/p/95bb2eddcd7b</guid>
            <category><![CDATA[lambda-function-in-python]]></category>
            <dc:creator><![CDATA[Jennifer]]></dc:creator>
            <pubDate>Fri, 14 Feb 2025 12:01:10 GMT</pubDate>
            <atom:updated>2025-02-14T12:01:10.343Z</atom:updated>
            <content:encoded><![CDATA[<p>Python Lambda Function are anonymous function (i.e., defined without a name) that can take any number of arguments but, unlike normal functions, evaluates and returns only one expression.</p><h3>Python Lambda Function Syntax</h3><p><strong><em>lambda arguments : expression</em></strong></p><p><strong>lambda: </strong>The keyword to define the function.</p><p><strong>arguments: </strong>A comma-separated list of input parameters (like in a regular function).</p><p><strong>expression: </strong>A single expression that is evaluated and returned.</p><p>Example 1 :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YnCJNyJYHOuHZm_b0vqXXQ.png" /></figure><p>This code demonstrates different lambda functions:</p><ol><li><strong>Addition by 2</strong> (x+2).</li><li><strong>Square of a number</strong> (x**2).</li><li><strong>Adding 10</strong> (a+10).</li><li><strong>Multiplying by 2</strong> (a*2).</li></ol><p>Each lambda function performs a mathematical operation and returns the expected result.</p><p>Example 2:</p><p>Lambda functions can take any number of arguments</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2aRg_q1iSSVrpGxzKk5-lg.png" /></figure><p>This code demonstrates various lambda functions:</p><ol><li><strong>Basic arithmetic</strong> (2*3+2+3 = 11).</li><li><strong>Multiplication with addition</strong> (a*b+a+b).</li><li><strong>Power function</strong> (base**exp+addval).</li><li><strong>String uppercase conversion</strong> (a.upper()).</li><li><strong>Multiplication of two numbers</strong> (a*b).</li></ol><p>Each lambda function performs a simple operation and returns the result.</p><h3>Why Use Lambda Functions?</h3><p>The power of lambda is better shown when you use them as an anonymous function inside another function.</p><p>Say you have a function definition that takes one argument, and that argument will be multiplied with an unknown number.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Wse7Ko1lOHyBJmxsuBiU0w.png" /></figure><h3>Step-by-step Explanation:</h3><p><strong>Function Definition (double(a))</strong></p><ul><li>This function takes a parameter a .</li><li>It returns a <strong>lambda function</strong> that takes two parameters, n and b.</li><li>The lambda function performs the calculation: (a×n)+a−b(a \times n) + a — b(a×n)+a−b</li></ul><p><strong>Calling double(5)</strong></p><ul><li>When double(5) is called, a is assigned the value 5.</li><li>The function returns a lambda function where a = 5.</li></ul><p><strong>Lambda Function Execution (dum(2,1))</strong></p><ul><li>dum now holds the lambda function with a = 5</li><li>Calling dum(2,1) passes n = 5 and b =1 into the lambda function.</li></ul><p><strong>Substituting values into the formula:</strong></p><p>(5×2)+5−1(5 \times 2) + 5–1(5×2)+5−1 10+5−1=1410 + 5–1 = 1410+5−1=14</p><p><strong>Final Output:</strong></p><p>The result printed is <strong>14</strong>.</p><h3>Lambda with Condition Checking</h3><p>A lambda function can include conditions using if statements.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Mj17o7e3jqkVl0twt2gZjw.png" /></figure><p>This lambda function checks whether a number is even or odd. If x is divisible by 2, it returns ‘even’ ; otherwise, it returns ‘odd’ . In this case, conditional_lambda(4) evaluates to ‘even’ , which is printed as output.</p><h3>Lambda with Nested If Condition</h3><p>The lambda function will return a value for every validated input. Here, if block will be returned when the condition is true, and else block will be returned when the condition is false.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KaL1toWGQXdzqiBzVJyIZQ.png" /></figure><p>This lambda function categorizes a number as ‘Positive’ if greater than 0, ‘zero’ if equal to 0, ‘close to zero’ if between -5 and 0, and ‘negative’ if less than -5. Since 5 &gt; 0 , the output is ‘positive’.</p><h3><strong>Lambda with List Comprehension</strong></h3><p>Combining lambda with list comprehension enables us to apply transformations to data in a concise way.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YOa6IcJ3xbo8UWC2egzm7g.png" /></figure><p>This code creates a list of lambda functions that multiply an argument by 10, using x from range(1,5) . When calling each function, it multiplies x (last value in range, 4) by 10 , giving outputs 10,20,30,40 .Sorting with lambda function.</p><h3>Now will Perform Map in Lambda Function</h3><p>Map in Python is a function that works as an iterator to return a result after applying a function to every item of an iterable.</p><h4>Syntax : map(func,*iterables)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PM66SM-37L9W7Z0EJVd2YQ.png" /></figure><p>Here in example 1 we have num a list , I want square of all the numbers in the list so here I want to apply this function to every item of an iterable so I used Map function here.</p><h3>Now will understand Filter in Lambda Function</h3><p>filter out all the elements of a sequence.</p><h4>Syntax : filter(function,iterable)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vcKSRYo7309CgzoREwHeLw.png" /></figure><p>Here from 1 to 100 I want to extract only even numbers so , I need to apply it in every item so here I used filter function to filter the list number according to the given condition.</p><h3>Reduce Function</h3><p>Reduce returns a single output value from a sequence data structure because it reduces the elements by applying a given function it is used to perform some aggregate function.</p><p><strong>Syntax: reduce(function, iterable)</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OxP4sFO3o7G8WqXbsFnXVQ.png" /></figure><p><strong>Explanation:</strong></p><ul><li>The lambda multiplies two numbers at a time.</li><li>reduce() applies this operation across the list.</li></ul><p>When to use lambda function?</p><h4><em>Lambda functions are suitable for:</em></h4><p><strong>Simple operations:</strong> When you need to perform simple operations or calculations.</p><p><strong>Anonymous functions: </strong>When you need a function temporarily or in one place and don’t want to define a named function using def.</p><p><strong>Functional programming: </strong>When working with functions as first-class citizens, such as in map(), filter(), or sorted() functions where a function is passed as an argument.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=95bb2eddcd7b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[DATA CHEF]]></title>
            <link>https://medium.com/@aruljennifer2000/data-chef-214b5f32ce92?source=rss-44db1ac01ed4------2</link>
            <guid isPermaLink="false">https://medium.com/p/214b5f32ce92</guid>
            <dc:creator><![CDATA[Jennifer]]></dc:creator>
            <pubDate>Wed, 15 Jan 2025 10:51:03 GMT</pubDate>
            <atom:updated>2025-01-15T10:51:03.808Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/300/0*-W54qqpbDTxFaYK1.jpg" /></figure><p>Joe Celko is a renowned SQL expert, teacher, and consultant with over a decade of experience. He specializes in crafting and optimizing complex queries and is well-known for authoring influential books such as <em>SQL for Smarties</em>, <em>Thinking in Sets</em>, and <em>SQL Puzzles and Answers</em>. These books serve as valuable resources for professionals aiming to master advanced SQL concepts.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*2PpA-_w1Liq-yWSc.jpg" /></figure><p>In the world of data science, my favourite topic is SQL (Structured Query Language). SQL is a programming language designed for managing and manipulating data, particularly in tabular formats with rows and columns. It allows users to store, update, delete, and retrieve data efficiently.</p><p>SQL is one of the most critical tools for data analytics. Its simplicity makes it accessible even to beginners, SQL is poised to remain a cornerstone of data science for the next decade. I am committed to learning and updating my knowledge of SQL daily to stay competitive and ready for the future of this evolving field.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*_HLdDY1bihlVwIA0.jpg" /></figure><p>While SQL traditionally manages data in tabular formats, 2023 marked the introduction of property graph queries. This new feature enables users to perform graph-based analyses directly within SQL databases, opening up exciting possibilities for data science applications.</p><p>As a major programming language in data science, SQL plays a vital role in extracting, updating, and retrieving data from vast datasets. It significantly reduces work time by enabling precise and efficient querying. By mastering SQL, I can contribute effectively to solving complex data problems and advancing in the field of data analytics.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/0*86D1MZAUjwvX6qQR.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=214b5f32ce92" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Exploratory Data Analysis:]]></title>
            <link>https://medium.com/@aruljennifer2000/exploratory-data-analysis-a68fb3f65154?source=rss-44db1ac01ed4------2</link>
            <guid isPermaLink="false">https://medium.com/p/a68fb3f65154</guid>
            <category><![CDATA[exploratory-data-analysis]]></category>
            <category><![CDATA[steps-of-eda]]></category>
            <category><![CDATA[data-analysis]]></category>
            <dc:creator><![CDATA[Jennifer]]></dc:creator>
            <pubDate>Sat, 14 Dec 2024 15:30:40 GMT</pubDate>
            <atom:updated>2024-12-15T10:36:25.521Z</atom:updated>
            <content:encoded><![CDATA[<p>The Art of Discovering Data’s Hidden Stories</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*9JQeFI-jDHNQppvZ.png" /></figure><h3>What is Exploratory Data Analysis?</h3><p>Exploratory data analysis is an approach of exploring the data in a way where you are able to gather few insights from the data. These insights may include the pointers that best explain the distribution of the data points peakness and other necessary information like relationship between each of the variables in the data you are able to identify the underlying patterns which you may not be able to identify just by looking at it. You are able to remove the redundancies like null values and outliers. The idea is to use the processes and tools available to us to make sure that no stone is unturned when it comes to exploring the data the main objective of the EDA is to understand which kind of solution or if we are using the machine learning approach we are going to use to solve the problem. This practice gives us to enough room to decide the outcomes based on findings while doing the EDA.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/0*jVW8isnlxYIY5Qbq" /></figure><h3>Importance of Exploratory Data Analysis:</h3><ol><li>Helps in uncovering underlying patterns.</li></ol><p>2. Highlights relationship between data analysis.</p><p>3. Help to restructure the data for modeling.</p><p>4. Helps in removing redendancles from the data.</p><h3>Steps involved in EDA:</h3><ol><li>Loading the data</li><li>Data visualization</li><li>Data imputation</li><li>Outlier Analysis</li><li>Gathering insights</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/712/0*_-EWfR27D33VIq9o" /></figure><h4>1. Loading the data:</h4><p>This is the first step where the raw data is imported into your analysis tool(e.g., Python using pandas, R,Excel). The data is usually loaded from sources like CSV files, Excel sheets, databases, or APls. Example: Using pandas.read_csv( ) in python to load a dataset.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/0*D4hO0eyKQt89kAan.png" /></figure><h4>2. Data Visualization:</h4><p>Visualization involves creating charts, graphs, and plots to understand patterns, relationships, and trends in the data. Tools like matplotlib, seaborn, or Tableau help in presenting data visually. Example: Scatter plots, histograms, and heatmaps to check correlations and distributions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*GhQhODJlAhiTqee-" /></figure><h4>3. Data Imputation:</h4><p>This step deals with handling missing or incomplete data in the dataset. Techniques like mean, median, mode replacement, or advanced methods like KNN imputation can be used. Example: Replacing missing values in a column with the average of that column.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*fkVjRawb6rR_97Vp.png" /></figure><h4>4. Outlier Analysis:</h4><p>Outlier detection involves identifying data points that significantly differ from the rest of the data. Methods like boxplots, z-scores, and IQR(interquartile Range) are commonly used. Example: Detecting outliers in a dataset to ensure they don’t distort results.</p><h4>5. Gathering Insights:</h4><p>Finally, the findings from data exploration are summarized to extract key insights. These insights help in decision-making, model building, or suggesting business strategies. Example: Finding a strong relationship between two variables or identifying trends.</p><h4>6. Checking Assumptions</h4><p>Before jumping into predictive modeling, you need to check assumptions about your data. For example:</p><ul><li><strong>Normality:</strong> Is your data approximately normally distributed? This can affect which statistical tests are appropriate.</li><li><strong>Linearity:</strong> If you’re considering linear regression, you need to ensure that relationships between variables are linear.</li><li><strong>Homogeneity of variance:</strong> This is important for models like ANOVA, where the variance in the groups should be similar.</li></ul><h3>Advanced EDA Techniques</h3><p>After these basic steps, you can move to more advanced methods, such as:</p><ul><li><strong>Principal Component Analysis (PCA)</strong> for dimensionality reduction.</li><li><strong>Clustering algorithms</strong> (like K-Means) to find natural groupings within the data.</li><li><strong>Time-series analysis</strong> for temporal data to detect trends and seasonality.</li></ul><h3>The Power of EDA in Practice</h3><p>Imagine you’re working on a dataset of customer transactions for an online store. Through EDA, you uncover some intriguing insights:</p><ul><li>Customers who purchase during the holiday season tend to buy more expensive items.</li><li>The age group 18–30 shows a strong preference for mobile devices, while 31–45 lean toward laptops.</li><li>There is a significant spike in abandoned carts during the checkout process — possibly due to high shipping fees.</li></ul><h3>Conclusion:</h3><h3>EDA is Your First Step to Data Mastery</h3><p>Exploratory Data Analysis is not just a phase in the data science workflow; it’s a mindset. By taking the time to understand your data’s nuances, you’ll be better equipped to ask the right questions, build more accurate models, and ultimately uncover the insights that matter most.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a68fb3f65154" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>