<?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 Subhani Shaik on Medium]]></title>
        <description><![CDATA[Stories by Subhani Shaik on Medium]]></description>
        <link>https://medium.com/@subhani1?source=rss-177e8a63c719------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*HuRIi2ho_O1Ywr79zTyLRA.png</url>
            <title>Stories by Subhani Shaik on Medium</title>
            <link>https://medium.com/@subhani1?source=rss-177e8a63c719------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 23 May 2026 06:46:44 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@subhani1/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[Uncovering Shopping Patterns: Market Basket Analysis Using the Apriori Algorithm]]></title>
            <link>https://medium.com/towards-explainable-ai/uncovering-shopping-patterns-market-basket-analysis-using-the-apriori-algorithm-a1f1d2883dd4?source=rss-177e8a63c719------2</link>
            <guid isPermaLink="false">https://medium.com/p/a1f1d2883dd4</guid>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[apriori-algorithm]]></category>
            <category><![CDATA[product-placement]]></category>
            <category><![CDATA[retail-strategy]]></category>
            <category><![CDATA[market-basket-analysis]]></category>
            <dc:creator><![CDATA[Subhani Shaik]]></dc:creator>
            <pubDate>Wed, 18 Jun 2025 21:03:56 GMT</pubDate>
            <atom:updated>2025-07-07T21:44:47.329Z</atom:updated>
            <content:encoded><![CDATA[<blockquote><strong>Ever walked into a store for just to buy one thing and somehow walked out with five?</strong></blockquote><p>Maybe it was a chocolate bar perfectly placed next to the checkout, or a kitchen gadget you didn’t know you needed until you saw it paired with the blender you were buying.</p><p>These aren’t random events. They’re the result of a smart, behind-the-scenes data strategy called <strong>Market Basket Analysis (MBA)</strong> — a technique retailers use to uncover the secret connections between what we buy and why we buy it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/896/0*1lWXluXYsDXkwfq8.jpg" /></figure><h3>What is Market basket analysis?</h3><p>When customers buy bread, they often end up buying butter too. This buying pattern can be described with a simple rule:</p><p>IF {bread} THEN {butter}</p><p>In simple terms, MBA is a data mining technique used to identify patterns in customer purchasing behaviour — helping businesses group products that are frequently bought together. This insight is used in everything from recommendation engines and product bundling, to store layout design and marketing strategies.</p><figure><img alt="Market basket analysis" src="https://cdn-images-1.medium.com/max/785/0*gUW2nQnqP4HjQq2y.png" /><figcaption>Source: wallstreet Mojo</figcaption></figure><h3><strong>Market Basket analysis using Apriori algorithm:</strong></h3><p>Market Basket Analysis uses simple association rules like <strong>IF {A} THEN {B}</strong> to predict which products are likely to be bought together.</p><p>There are several algorithms used to perform this analysis, including <strong>AIS</strong>, <strong>Apriori</strong>, <strong>SETM</strong>, <strong>FP-Growth</strong>, and <strong>Eclat</strong>. Among these, the Apriori algorithm is one of the most popular because it is easy to understand and implement.</p><p>Three key measures used in Market basket analysis are</p><ol><li>Support: Frequency of items appearing together</li><li>Confidence: Likelihood of item B being bought when item A is bought</li><li>Lift: How much more likely items are bought together compared to being bought independently</li></ol><p>To better understand Market Basket Analysis (MBA), imagine a small grocery store where customers purchase everyday items like bread, butter, milk, and tomatoes. In this example, the goal is to determine how often customers who buy bread also purchase butter.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/799/1*s9Af6yCpXIu8qcJrY0lecA.png" /></figure><p><strong>1. Support — </strong>It measures the proportion of transactions in which both bread and butter are purchased together. It is calculated as:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/845/1*wSrQ-uavPmFChRBP2XYX-g.png" /></figure><p>This indicates that 60% of all transcation include both bread and butter.</p><p><strong>2. Confidence</strong> — represents the likelihood of purchasing butter given that bread has been purchased.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/834/1*QuDMxhLjtdajUiYBZdMKGw.png" /></figure><p>This implies a 75% probability that customers who buy bread will also purchase butter.</p><p><strong>3. Lift</strong>— assesses the strength of the association between bread and butter, determining how much more likely these items are bought together than would be expected if they were purchased independently.</p><p><strong>Lift&lt; 1</strong>, the products are not frequently bought together by consumers.</p><p><strong>Lift&gt; 1</strong>, the products are frequently bought together by consumers.</p><p><strong>Lift = 1</strong>, the purchase of one product does not affect the purchase of the other.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/769/1*q-VII67xZLup9pmRj35H0A.png" /></figure><p>A lift of <strong>1.25</strong> means customers who buy Bread are <strong>25% more likely</strong> to buy Butter compared to the average. Since <strong>Lift &gt; 1</strong>, this is a <strong>positive association</strong>.</p><h3><strong>🛒 Market Basket Analysis using Apriori Algorithm</strong></h3><p>Let’s break down how MBA works in practice using Apriori Algorithm.</p><h4>Step 1: Install <strong>apyori</strong> and all the required <strong>libraries</strong>.</h4><pre>!pip install apyori<br><br>import pandas as pd<br>import matplotlib.pyplot as plt<br>from collections import Counter<br>from apyori import apriori</pre><h4>Step 2: Begin by installing the apyort</h4><pre>df = pd.read_csv(&quot;dailytransactions.csv&quot;)</pre><h4>Step 3: Convert each transaction row into a list of non-null, trimmed items</h4><pre>transactions = []<br>for _, row in df.iterrows():<br>    transaction = [str(item).strip() for item in row if pd.notna(item)]<br>    if transaction:<br>        transactions.append(transaction)</pre><h4>Step 4: Extract Rules and Convert rules to Data Frame</h4><pre>rule_data = []<br>for rule in results:<br>    for stat in rule.ordered_statistics:<br>        if stat.items_base and stat.items_add:<br>            rule_data.append({<br>                &#39;LHS (If bought)&#39;: &#39;, &#39;.join(stat.items_base),<br>                &#39;RHS (Then also bought)&#39;: &#39;, &#39;.join(stat.items_add),<br>                &#39;Support&#39;: round(rule.support, 4),<br>                &#39;Confidence&#39;: round(stat.confidence, 2),<br>                &#39;Lift&#39;: round(stat.lift, 2)<br>            })<br>df_rules = pd.DataFrame(rule_data)</pre><h4>Step 5: Sort and Display Top 10 Rules by Lift</h4><pre>top_10_rules = df_rules.sort_values(by=&#39;Lift&#39;, ascending=False).head(10)<br><br>print(&quot;\n Top 10 Association Rules (Sorted by Lift):\n&quot;)<br>print(top_10_rules.to_string(index=False))</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/830/1*k-nVfIQM88JBDeiKtPFSwg.png" /></figure><h4>Step 6: Final Results</h4><pre>plt.figure(figsize=(12, 6))<br>plt.barh(<br>    [f&quot;{row[&#39;LHS (If bought)&#39;]} → {row[&#39;RHS (Then also bought)&#39;]}&quot; for _, row in top_10_rules.iterrows()],<br>    top_10_rules[&#39;Lift&#39;],<br>    color=&#39;coral&#39;<br>)<br>plt.xlabel(&quot;Lift&quot;)<br>plt.title(&quot;Top 10 Association Rules by Lift&quot;)<br>plt.gca().invert_yaxis()<br>plt.tight_layout()<br>plt.show()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QvkAS_l1DR1qI9GDDXHx1A.png" /></figure><h3>Summary</h3><p>This practical walkthrough demonstrates how <strong>Apriori</strong> helps uncover hidden patterns in customer purchases. Retailers can use these rules to:</p><ul><li>Recommend items (e.g., “Customers who bought bread also bought butter”)</li><li>Bundle products for promotions</li><li>Organize shelves for convenience and sales optimization</li></ul><p>Market Basket Analysis, powered by algorithms like Apriori, transforms raw transaction data into strategic insights — ultimately enhancing the shopping experience and driving revenue growth.</p><p>***</p><p>I hope you find this article helpful. If I’ve missed anything, let me know in the comment section.</p><p>What do you think about this article? Comment!!!</p><p>Not sure what to read next? I’ve picked another article for You !!!</p><p><a href="https://www.linkedin.com/pulse/cohort-analysis-python-shaik-subhani/">Cohort analysis</a> | <a href="https://medium.com/swlh/sentiment-analysis-with-bag-of-words-4b9786e967ca?sk=78bf4171137a0d1b9f83263708e4b08d">Sentiment analysis</a></p><p>Follow me @ <a href="https://medium.com/@subhani1">Medium</a> | <a href="https://www.linkedin.com/in/shaik-subhani/">LinkedIn</a></p><p><em>Thanks for reading!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a1f1d2883dd4" width="1" height="1" alt=""><hr><p><a href="https://medium.com/towards-explainable-ai/uncovering-shopping-patterns-market-basket-analysis-using-the-apriori-algorithm-a1f1d2883dd4">Uncovering Shopping Patterns: Market Basket Analysis Using the Apriori Algorithm</a> was originally published in <a href="https://medium.com/towards-explainable-ai">Towards Explainable AI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Sales data analysis using Excel]]></title>
            <link>https://medium.com/analytics-vidhya/sales-data-analysis-using-excel-3e02bb21d171?source=rss-177e8a63c719------2</link>
            <guid isPermaLink="false">https://medium.com/p/3e02bb21d171</guid>
            <category><![CDATA[excel]]></category>
            <category><![CDATA[sales-data]]></category>
            <category><![CDATA[sales-performance]]></category>
            <category><![CDATA[analysis]]></category>
            <category><![CDATA[sales-data-analysis-excel]]></category>
            <dc:creator><![CDATA[Subhani Shaik]]></dc:creator>
            <pubDate>Wed, 21 Oct 2020 11:42:29 GMT</pubDate>
            <atom:updated>2020-10-21T12:21:29.424Z</atom:updated>
            <content:encoded><![CDATA[<p>For every company, sales is the revenue generator, which takes care of all the costs and expenses. If you are managing a sales team, you have to determine whether a particular sales person’s performance is increasing, decreasing, or stayed the same.</p><p>In this article, we will see an <strong>Easy and simple way</strong> to analyze the performance of the sales team using the following icons.</p><figure><img alt="Sales data analysis Excel — using Icons" src="https://cdn-images-1.medium.com/max/1024/0*Fsi2kU_NltnluQpE" /><figcaption>Icon — Meaning</figcaption></figure><figure><img alt="Sales data analysis Excel — using Icons" src="https://cdn-images-1.medium.com/max/1024/0*F6rZgGXPFRcwD-8d" /><figcaption>Wingdings 3 — Font</figcaption></figure><p>Dataset: It contains sales data of 15 employees.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*0bc2MaKNoYNCEpZO" /></figure><p>Steps to be followed:</p><ol><li>Ranking: Formula- RANK(B3,B$3:E$17,0), then copy the same formula to other cells as shown in the picture.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*rVvFqfpbtFxnNo-6" /></figure><p>Function Arguments:</p><p><strong>Number:</strong> Number for which you want to find the rank. In this case, 84(B3)</p><p><strong>Reference:</strong> Reference table which is B$3:E$17.</p><p><strong>Order:</strong> If it is 0(zero), the highest number gets Rank-1 and if it is 1(one), the lowest number gets Rank-1.</p><p><strong>Output</strong>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*YkD4968Ag9A2aiu0" /></figure><p>2. Select L3 to N17 and change the font to ‘Wingding 3’, then use the following formula.</p><p>Formula: IF(H3&lt;G3,”h”,IF(H3&gt;G3),”i”,”j”))</p><figure><img alt="Sales data analysis Excel — using Icons" src="https://cdn-images-1.medium.com/max/1024/0*iosetg0gDhiSnbDZ" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*bdXUw4z8sy8bRbke" /></figure><p><strong>FINAL OUTPUT:</strong></p><figure><img alt="Sales data analysis Excel — using Icons" src="https://cdn-images-1.medium.com/max/1024/0*QDGVv7GmenPhta_j" /></figure><p>*****</p><p>I hope you find this article helpful. If I’ve missed anything, let me know in the comment section.</p><p>What do you think about this blog? Comment!!!</p><p>Not sure what to read next? I’ve picked another article for You !!!</p><p><a href="https://www.linkedin.com/pulse/cohort-analysis-python-shaik-subhani/">Cohort analysis</a> | <a href="https://medium.com/swlh/sentiment-analysis-with-bag-of-words-4b9786e967ca?source=friends_link&amp;sk=78bf4171137a0d1b9f83263708e4b08d">Sentiment analysis</a></p><p>Follow me @ <a href="https://medium.com/@subhani1">Medium</a> | <a href="https://www.linkedin.com/in/shaik-subhani/">LinkedIn</a></p><p><em>Thanks for reading!</em></p><p><em>Originally published at </em><a href="https://www.linkedin.com/in/shaik-subhani/">https://www.linkedin.com/in/shaik-subhani/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3e02bb21d171" width="1" height="1" alt=""><hr><p><a href="https://medium.com/analytics-vidhya/sales-data-analysis-using-excel-3e02bb21d171">Sales data analysis using Excel</a> was originally published in <a href="https://medium.com/analytics-vidhya">Analytics Vidhya</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Sentiment Analysis With Bag-of-Words]]></title>
            <link>https://medium.com/swlh/sentiment-analysis-with-bag-of-words-4b9786e967ca?source=rss-177e8a63c719------2</link>
            <guid isPermaLink="false">https://medium.com/p/4b9786e967ca</guid>
            <category><![CDATA[bag-of-words]]></category>
            <category><![CDATA[sentiment-analysis]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[restaurant-review]]></category>
            <category><![CDATA[nlp]]></category>
            <dc:creator><![CDATA[Subhani Shaik]]></dc:creator>
            <pubDate>Wed, 09 Sep 2020 14:21:39 GMT</pubDate>
            <atom:updated>2020-09-23T06:14:05.786Z</atom:updated>
            <content:encoded><![CDATA[<h3>Sentiment Analysis With Bag of Words</h3><figure><img alt="Sentiment analysis with bag of words" src="https://cdn-images-1.medium.com/max/960/1*SJwEwIEl6p1kLX5ADDNfMQ.jpeg" /><figcaption>source: revuze.it</figcaption></figure><p><strong>Sentiment analysis </strong>is the process of determining whether a piece of text is positive or negative. It allows businesses to identify their customer’s sentiments towards products or services through reviews and online feedback.</p><p>For Example:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/708/1*U-G71doMjp8GpoOWB_2YTQ.jpeg" /></figure><p>In other words, sentiment analysis gives an opportunity to explore the mindset of your customers and study the state of your product or service from your customer’s point of view.</p><p>This makes sentiment analysis a great tool for</p><ol><li>Product reviews</li><li>Market research</li><li>Customer service</li><li>Social media monitoring</li><li>Reputation management etc.,</li></ol><p>Sentiment analysis is a filed of Natural language processing(NLP).</p><p><strong>INTRODUCTION</strong></p><p>The dataset which we are using contains, restaurant reviews and we are going to use sentiment analysis to find wheater a particular review is positive or negative. If the review is negative we will display the following message.</p><blockquote>Thank you &lt;customer first name&gt; for taking out the time to write a review. we apologize for the inconvenience caused. We hope we will get a chance to serve you better in the near future.</blockquote><p>If the review is positive we will display the following message.</p><blockquote>&lt;Customer first name&gt;, Thank you so much for that awesome review. We look forward to serving you again in the near future.</blockquote><h4>Steps to be Followed</h4><ol><li>Importing the libraries.</li><li>Importing the dataset.</li><li>Cleaning the data.</li><li>Creating the Bag of words.</li><li>Training and classification.</li><li>Confusion matrix.</li><li>Predicting a customer review.</li></ol><p>Step1: Importing the Libraries</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*ee6Cq7t-PfxvjPXi9Z72Eg.png" /></figure><p>Step2: Importing the Dataset</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/962/1*kQUS-YJIpxeoDAPxczcrFA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/704/1*psWQBUu33ISCz4qHG0idxw.png" /></figure><p>Step3: Cleaning the data</p><p>From the above dataset output, we will find some information that does not help in determining whether a review is positive or negative.</p><p>For example, words like a, an, the, was, on, etc, doesn&#39;t have any impact on the decision. These words are called Stopwords. We also have words like loved, stopped, loving, etc, we will have to convert them to its root form.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OHx1Xdh_66u5-zRdsBB-tg.png" /></figure><p>Step4: Creating a bag of words</p><p>The bag of words is the simplest form of text representation in numbers. To learn more about bag of words — <a href="https://www.analyticsvidhya.com/blog/2020/02/quick-introduction-bag-of-words-bow-tf-idf/">click here</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/866/1*5BBlZ5bqlYZJpyMCW8zPLQ.png" /></figure><p>Step5: Training and Classification</p><p>We have to split our dataset into training and testing sets, and then we have to apply the classification model.</p><p>Classification Algorithms</p><ol><li>Linear classifier: Logistic regression, Naive Bayes classifier</li><li>Nearest neighbors.</li><li>Support vector machine.</li><li>Decision tree.</li><li>Random forest etc..,</li></ol><p>We can use any one of them, I tried all and surprisingly Naive Bayes gives the best accuracy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/725/1*X6i3MZsygxFY-hXqFIi93A.png" /></figure><p>Step6: Classification model</p><p>It is a tool, used for evaluation of the performance of a classification model. If you want to learn more about this — <a href="https://www.linkedin.com/posts/shaik-subhani_confusion-matrix-activity-6708231332318867456-J4KX">Click here</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/915/1*X9nva8PkhCtOkN-fnH0HTA.png" /></figure><p>The accuracy of our model is 73%, which means 73% of the predictions are accurate.</p><p>Step7: Final step - Predicting a customer review</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yLr9oZOJ6XUYl3tB3tft7g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4mqDuiYNjrA6rR1rgNcpGw.png" /></figure><p>I hope you find this article helpful. If I’ve missed anything, let me know in the comment section.</p><p>What do you think about this blog? Comment!!!</p><p>Follow me @ <a href="https://medium.com/@subhani1">Medium</a> | <a href="https://www.linkedin.com/in/shaik-subhani/">LinkedIn</a></p><p><em>Thanks for reading!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4b9786e967ca" width="1" height="1" alt=""><hr><p><a href="https://medium.com/swlh/sentiment-analysis-with-bag-of-words-4b9786e967ca">Sentiment Analysis With Bag-of-Words</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>
        <item>
            <title><![CDATA[Cohort Analysis : Simplified, Actionable]]></title>
            <link>https://medium.com/analytics-vidhya/cohort-analysis-simplified-actionable-bc124a95345?source=rss-177e8a63c719------2</link>
            <guid isPermaLink="false">https://medium.com/p/bc124a95345</guid>
            <category><![CDATA[cohort-analysis]]></category>
            <category><![CDATA[customer-retention]]></category>
            <category><![CDATA[simple]]></category>
            <category><![CDATA[actionable]]></category>
            <category><![CDATA[churn]]></category>
            <dc:creator><![CDATA[Subhani Shaik]]></dc:creator>
            <pubDate>Sat, 29 Aug 2020 17:21:25 GMT</pubDate>
            <atom:updated>2020-09-25T13:42:19.072Z</atom:updated>
            <content:encoded><![CDATA[<h3>Cohort Analysis — Simplified, Actionable</h3><h4>To improve Customer Retention and Reduce Churn</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*J3Ui6G4WhrFXkcatctydFA.png" /></figure><p>I’ve read a lot of articles and blogs on cohort analysis, churn and customer retention, most of them are very technical &amp; hard to understand. So, I decided to choose a different path and try to make it simple as well as actionable.</p><p>If you want to know more about cohort analysis, and how to apply it to improve your business, this blog is perfectly made for you.</p><p>Let’s jump right into it!</p><h4><strong>WHAT IS COHORT ANALYSIS?</strong></h4><p>A Cohort is a group of people who share a common characteristic over a certain period of time, such as first purchase date, signup date, the location they belong to, etc.,</p><p><strong>Example:</strong> Class — 2020 is a cohort, and all the students who graduated in that year are parts of that same cohort.</p><p>In cohort analysis, we track these group of people over a certain period of time, and try to draw insights to get a better understanding of your product/service / Marketing campaigns, etc…,</p><p>Cohort analysis is a widely used method to reduce the churn rate and improve customer retention. Before we dive into the cohort analysis, first try to understand what is churn rate and customer retention.</p><p><strong>CHURN RATE:</strong></p><p>Percentage of customers who stop using or buying from your website/store/e-commerce site etc, within a given period of time. Churn rate is sometimes also called a ‘Rate of Attrition’.</p><p><strong>CUSTOMER RETENTION:</strong></p><p>It is the ability of your business to retain its customers over a specific period of time. High retention means, your customers are buying and engaging with your product or service continuously.</p><p><strong>According to me:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/697/1*Fwhq_1mTijLrad1yfIA6vg.png" /><figcaption>Retention is inversely proportional to Churn</figcaption></figure><p><strong>HOW TO READ A COHORT ANALYSIS CHART:</strong></p><p>At first, glance, reading a cohort chart is a little confusing and hard to interpret. I also felt the same, when I first saw a cohort chart, but trust me it is indeed very easy to interpret.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Yc7Bs8OWHacZG36hyqnfsA.png" /><figcaption>Cohort Analysis chart</figcaption></figure><p>Confusing right? Let’s break it and just look at one cohort…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wUMm7J3HsoO3NOdG0IJjnA.png" /></figure><ol><li><strong>2010–12: </strong>Cohort of customer signed up or purchase something from you.</li><li><strong>885:</strong> Total number of customers belongs to this cohort or 885 customers signed up or brought something from your business in 2010–12.</li><li><strong>37%:</strong> 37% (of 885) customers visited your store next month. So we lost around 73% of customers.</li></ol><p><strong>HOW TO USE COHORT ANALYSIS TO REDUCE CHURN:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/881/1*C0CGd4Y1X4fgHpX9M3zPRA.png" /></figure><p>If you look at the first cohort (highlighted in the box), too many customers are churning out. In the first three months, we are losing around 70 -80% of customers.</p><p>In the last month (highlighted with dark red), only 11–15% customers are decided to be connected with you, that means you are losing 90% of your customer which is a very bad sign.</p><p>The major reason behind this could be, you recently started something new (maybe launched a new product or a marketing campaign, etc..,) and your existing customers are not happy with your initiative.</p><p><strong>THE TOP REASONS BEHIND THE HIGH CHURNING RATES:</strong></p><p>1. There is a mismatch between the products or services and to customers’ expectations.</p><p>2. Poor customer service or after-sales service.</p><p>3. Quality or trust issues.</p><p>4. Checkout process.</p><p><strong>3-STEP GUIDE TO IMPROVE CUSTOMER RETENTION:</strong></p><p><strong>STEP 1: </strong>Identify the drop-off trend in the cohort analysis chart. Drop-off: from which month most of the cohorts are falling down. Let say, after 6 months most of the cohorts are falling down.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/870/1*Pi9Ys59aPkdumPXFolvncQ.png" /></figure><p><strong>STEP 2:</strong> Communicate with your customer before the drop-off trend, start sending check-in emails from the 4th month, and see how things are going, find out whether your customers are happy or not, make sure to note all the issues they are facing with your product or service.</p><p><strong>STEP 3:</strong> Follow — up with your customer until their issue resolved, and after that don’t forget to take the feedback. In this step don’t pressurize them to use your product or service, and try to focus more on understanding the customer problem and solve it as soon as possible.</p><p><strong>NOTE:</strong></p><p>1. Collect all the reasons from the customers, who stopped buying or engaging with your product or service. It will help you to understand why they are leaving?</p><p>2. Send a survey to those customers who stayed or be connected with you. Try to find what they like and dislike about the product or service.</p><p>3. Compare 1 and 2, try to identify the exact problem in your product or service, as well as find out what you can do to keep your customers happy.</p><p>Cohort implementation in python click here</p><p><strong>CONCLUSION:</strong></p><p>The best part of cohort analysis is, it enables us to find which customers are leaving, when, and why they are leaving. Which indeed very helpful to improve customer retention and reduce churn.</p><p>What do you think about this blog? Comment!</p><p><em>Thanks for reading!</em></p><p>Follow: <a href="https://www.linkedin.com/in/shaik-subhani/"><strong>Shaik Subhani @ LinkedIn</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bc124a95345" width="1" height="1" alt=""><hr><p><a href="https://medium.com/analytics-vidhya/cohort-analysis-simplified-actionable-bc124a95345">Cohort Analysis : Simplified, Actionable</a> was originally published in <a href="https://medium.com/analytics-vidhya">Analytics Vidhya</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>