<?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[Data Analytics Centre - Medium]]></title>
        <description><![CDATA[DAC est un Centre de Recherche en Analytics , Intelligence Artificielle, Data science etc. . Il a pour but de valoriser la donnée pour augmenter les processus de croissance d’une entreprise qu’elle soit dans le domaine Industrielle, assurance, Médecine ou bien éducatif. - Medium]]></description>
        <link>https://medium.com/data-analytics-centre?source=rss----9152e73626bc---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Data Analytics Centre - Medium</title>
            <link>https://medium.com/data-analytics-centre?source=rss----9152e73626bc---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 11:46:42 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/data-analytics-centre" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[DATA SCIENTIST VS DATA ANALYST]]></title>
            <link>https://medium.com/data-analytics-centre/data-scientist-vs-data-analyst-bd83fb9e973f?source=rss----9152e73626bc---4</link>
            <guid isPermaLink="false">https://medium.com/p/bd83fb9e973f</guid>
            <category><![CDATA[data-science-news]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Maria Biyong]]></dc:creator>
            <pubDate>Sun, 18 Oct 2020 16:15:43 GMT</pubDate>
            <atom:updated>2020-10-18T16:52:54.672Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WAU3oFNCikNb0Zw8UubJFw.png" /><figcaption><a href="https://pixabay.com/photos/hand-robot-human-keyboard-networks-3685829/">pixabay</a></figcaption></figure><p>C’est un fait désormais le digital est plus qu’un terme à la mode, il intervient dans plusieurs aspects et domaine. on pourra citer notamment la finance, le commerce, la technologie et même le sport(d’ailleurs saviez vous que dans les stades les sportifs ne sont pas uniquement suivis par des caméras mais également par toutes sorte d’accessoires tels que accéléromètres, des capteurs de fréquence cardiaque et même des systèmes de localisations type GPS?)<br>la raison: il est important pour une entreprise quelque soit le domaine d’anticiper ce qui arrivera et commencer à travailler sur sa réinvention d’où l’apparition de nouveaux métiers au travers de la transformation digitale avec les Data Analyst et les Data Scientist.</p><p>En quoi consiste ces 2 métiers concrètement?<br>ils travaillent tous les 2 dans le digital et les données numériques.</p><blockquote>Le <strong>Data Scientist</strong> est à mesure de travailler avec de grande quantité de données non structurée et non nettoyées provenant de différentes sources, il connait des techniques d’exploration de base de données(Data Mining) permettant d’y extraire des connaissances. Il est également au fait de l’apprentissage machine(Machine Learning) qui cherche à prédire les comportements futurs sur la base des données connues, de regarder sous tous les angles et déterminer ce qu’elles signifient ensuite de recommander des décisions en lien avec ces données. Ses principales missions sont donc:</blockquote><ul><li>De traduire un problème d’affaire en problème mathématique ou statistique,</li><li>Trouver des sources de données pertinentes,</li><li>Proposer des recommandations sur la base de données,</li><li>Concevoir des entrepôts de données,</li><li>Evaluer les données,</li><li>Les traiter et les restituer.</li></ul><blockquote>Le<strong> Data Analyst</strong> quant à lui travail généralement sur les sources de donnée déjà défini. Sa principale tâche consiste à mettre à jour la base de donnée, retranscrire les données numériques en langage business d’où son coté marketing.</blockquote><p>La différence entre les 2 métiers:</p><ul><li>Le <strong>Data Scientist </strong>brasse de son coté une grande masse de donnée numérique ce qu’on appelle <strong>Big Data</strong> tout en créant des algorithmes et du langage informatiques,</li><li>Le <strong>Data Analyst</strong> à l’opposé manipule également ces données mais à moindre mesure, il récupère la donnée extraite par le data scientiste pour les analyser, tenter de les comprendre et surtout de donner un résultat aux tierces personnes(clients externes, directeurs marketing….). On pourra donc penser et dire que le data analyste est le “petit frère” du data scientiste.<br> Grosso modo la principale différence qui se dégage entre les deux termes est que l’un est un profil hybride entre la technique et le marketing(Data Analyst) et l’autre est un féru de chiffres statistiques et de programme informatique(Data Scientist).</li></ul><p>Ces métiers du digital sont très prisés depuis quelques temps au point où les Géants tels que<strong> Facebook, LinkedIn, Netflix</strong>…font recours à leurs expertises pour améliorer leurs performances.</p><p>Le saviez vous ?</p><p>Le terme Data Scientist a été crée par deux ingénieurs de chez Facebook et LinkedIn en 2008. Il a depuis fait école et a été élu 《métier le plus sexy du 21ème siècle》 par la <strong>Harvard Business review</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bd83fb9e973f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-analytics-centre/data-scientist-vs-data-analyst-bd83fb9e973f">DATA SCIENTIST VS DATA ANALYST</a> was originally published in <a href="https://medium.com/data-analytics-centre">Data Analytics Centre</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Witcher Netflix — Social Media Analytics: web scraping, natural language processing with…]]></title>
            <link>https://medium.com/data-analytics-centre/the-witcher-netflix-social-media-analytics-web-scraping-natural-language-processing-with-34b942d9faf6?source=rss----9152e73626bc---4</link>
            <guid isPermaLink="false">https://medium.com/p/34b942d9faf6</guid>
            <category><![CDATA[social-media-analytics]]></category>
            <category><![CDATA[the-witcher]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[web-scraping]]></category>
            <category><![CDATA[nlp]]></category>
            <dc:creator><![CDATA[Kiarash Yasoubi]]></dc:creator>
            <pubDate>Sun, 23 Aug 2020 18:27:37 GMT</pubDate>
            <atom:updated>2020-08-23T18:27:37.098Z</atom:updated>
            <content:encoded><![CDATA[<h3>The Witcher Netflix — Social Media Analytics: web scraping, natural language processing with Python</h3><p>Social media is one the main source of accessing to difference data these days. Many organizations invest in social media analytics tools and techniques in order to monitor and predict events as well as people behaviors. However, Social media is one the main source of accessing to difference data these days. Many organizations invest in social media analytics tools and techniques in order to monitor and predict events as well as people behaviors. However, usually we people talk about social media they think about twitter, Facebook and Instagram, however, there are other social media for other fields or industries too. IMDB is one of the biggest database of films, television programs and video games that offers vast information and enable users to share their opinion about programs and rank them. Therefore, in this article we aimed to collect IMDB user’s reviews about the series the Witcher that believed to be the next Game of Thrones. Instead of looking for other social Medias, we are going to collect our data directly from IMDB website using a single web scraping by Python and then analyze the comments. Our goal is to use Python to explorer users’ comment and get insight about what they are think about the Witcher.</p><p>Here is the framework we are going to implement with Python:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/531/1*hj8Df73OgNejPqpw3mDv_w.png" /></figure><p><strong>1.</strong> <strong>Data collection:</strong></p><p>We load the required libraries (you may need to install some of them)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hO7b3WUjZFs16wZk_grfjA.png" /></figure><p>Then we enter the URL(s) of reviews and use the BeautifulSoup library to download and parse the html tags.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pVTWFDQUnobzTiwY9DrYPQ.png" /></figure><p>In this step, we should find the exact address of html tags we are looking for. BeautifulSoup function’s find_all could be useful here. We know that comment are stored in class name “review-container”, so apply the function and extract comments from html code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*25ZXPeO5ty48HL5oHEtIdA.png" /></figure><p><strong>2.</strong> <strong>Data Manipulation</strong></p><p>Now we have a messy and semi structured data, which is not ready for processing. We need to first transform it to tabular data set and then do some cleaning.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/762/1*5zL7Z3Og0dwCWSVZzmiGkw.png" /></figure><p>As you may noticed, Reviews are messy and ranking column need to be cleaned</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/883/1*uoUs3418ijijWJtHf1FdXQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/885/1*9Nl7eFtksGBVUI_Un0PMvg.png" /></figure><p>Now ranking column cleared so let us see what is happening here</p><p><strong>3.Visualization</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/631/1*yjCcBeliZzNsXCM7Reop5g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*8cGLXcd3S8FTuTXlwml5hg.png" /></figure><p>4. <strong>Natural Language Processing</strong></p><p>For this part, we need to make corpus and tokenize the comments</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/852/1*ACq7s_EiooDy3THCkwQFLA.png" /></figure><p>Now we can visualized the most frequent words used by users</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/988/1*9ffXYl94mAvBjiDTMU6iHg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vmbcs2nIuheMUWVfJ62S5Q.png" /></figure><p>Then we apply sentiment analysis</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/934/1*1VUUMlVBtsBJlGNcbb0Vzw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/557/1*VD_VXXDm4KBsEqsTeO4L_A.png" /><figcaption>We noticed that most people had positive comment</figcaption></figure><p>Now visualize most frequent positive and negative words</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/783/1*lICVs_6wpPpzI1HHtR8vRw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/995/1*8efOqEcRYkR19ZfmtdzEsw.png" /><figcaption>Positive reviews</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1001/1*Je5LmgqOvsimbdITAuyNIw.png" /><figcaption>Negative reviews</figcaption></figure><p><strong>Conclusion:</strong></p><p>In this article tried to show how to combine web scraping with natural language processing in order to get insight about how user thing about the series.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=34b942d9faf6" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-analytics-centre/the-witcher-netflix-social-media-analytics-web-scraping-natural-language-processing-with-34b942d9faf6">The Witcher Netflix — Social Media Analytics: web scraping, natural language processing with…</a> was originally published in <a href="https://medium.com/data-analytics-centre">Data Analytics Centre</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Data visualization and RFM( Recency, Frequency and Monetary) analysis using Python-Customer…]]></title>
            <link>https://medium.com/data-analytics-centre/data-visualization-and-rfm-recency-frequency-and-monetary-analysis-using-python-customer-54fc48688681?source=rss----9152e73626bc---4</link>
            <guid isPermaLink="false">https://medium.com/p/54fc48688681</guid>
            <dc:creator><![CDATA[Jean Marie Mandeng]]></dc:creator>
            <pubDate>Sun, 23 Aug 2020 10:47:32 GMT</pubDate>
            <atom:updated>2020-08-23T10:47:32.829Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*htj2UD4t2GCSYcro" /><figcaption>Customer Segmentation (Coeur de cible, February 2019 )</figcaption></figure><h3>Data visualization and RFM( Recency, Frequency and Monetary) analysis using Python-Customer Segmentation</h3><p>We are in the middle of a digital transformation and most of our daily needs such as purchasing items, travelling or searching on internet (clothes, phones, food, etc.) generate a large amount of data. Companies today rely on this data to analyse and understand their customers’ behaviour and to segment these customers, in order to improve their marketing campaigns. <strong>Customer segmentation</strong> is a very common method used by retailers.</p><p><strong>RFM analysis</strong> is a technique often used to perform in customer segmentation. RFM will take into account the <strong>recency</strong>, (i.e. the date on which the customer made his last order), then it will take into account the <strong>frequency</strong> of orders and the <strong>amount </strong>of the purchased items (over a given period of time or the last order) to establish the different customer segments.</p><p>As an example of RFM analysis, we will use retail customer data in this study, using Python and some of its visualization libraries and tools.</p><p>Our data set contains information about customers in different states of the US. Those customers made 5009 purchasing orders online between <strong>2016–01–02 to 2019–12–30</strong>. The features (columns) are :</p><blockquote><strong>Order ID :</strong> Unique order identifier online.<br> <strong>Order Date </strong>: Date when to customer order an item.<br> <strong>Customer ID :</strong> Unique customer identifier.<br> <strong>State </strong>: The name of the country where each customer resides.<br> <strong>Product ID :</strong> Unique Product identifier.<br> <strong>Category :</strong> Product Category name.<br> <strong>Quantity :</strong> The quantities of each product per transaction.<br> <strong>Price :</strong> Unit price of a product.</blockquote><p>We would like to remind that data cleaning is done, (i.e. we removed all the errors terms and missing data in our set before using it) We did not mentioned this previous step, as it is not the main goal of the project.</p><p>Let’s do a little <strong>data visualization </strong>in order to better understand our data.</p><p>First of all, we import these libraries.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/585/1*jcgGuu2p4db8e7dq2LqLAw.png" /></figure><p>We import our data set to see how it looks.</p><blockquote><strong>df=pd.read_csv(‘Sales.csv’)</strong></blockquote><blockquote><strong>df.head()</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*M_A2dyinA-wtvDyhXEXLNw.png" /><figcaption>The first lines of the retail data set</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/799/1*uUNW7RzIV-sDNsJxBXvBng.png" /></figure><p>Here is our map chart containing clients by state</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/743/1*jDe8F8PTisaKhMedk9yD2w.png" /><figcaption>Number of Customers per State in the USA</figcaption></figure><p>As you can see, there are some states with a low number of customers. We decided to consider just the first 12 states because they are at least twice as representative in number of subscribers as the others.<br> But again, it all depends on what marketing strategy you decide to lead.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/735/1*HK8O3Wk6HUQJfKxEB6BYKw.png" /><figcaption>Head of new data set</figcaption></figure><p>A visualization of these selected states will be:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/816/1*Mq9oH0cNvFs05CDJimOB9Q.png" /></figure><p>The result is:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/581/1*KM37L7IAvUVlEqRh_J7GxA.png" /><figcaption>Top 12 States With the high Level of Customers in the USA</figcaption></figure><p><strong>Now, let’s start our </strong><a href="https://en.wikipedia.org/wiki/RFM_%28market_research%29"><strong>RFM </strong></a><strong>analysis.</strong></p><ul><li><strong>We start by calculating the recency (R) of a customer.</strong></li></ul><p>In order to determine how much time has passed since his last purchase, we need a reference date from which to start calculating. Then we make the difference between the two dates to calculate the amount of time passed.</p><p>Suppose that we decide to do our analysis 2 days (this date is our reference date) after the last transaction record date of our data set.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/895/1*BRSS7M6qQhsXbL8LqzY4ug.png" /><figcaption>Head of recency</figcaption></figure><p>Let’s look at customer distribution based on recency.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*xxNlFwR6kCbUAwG8PCwYvg.png" /><figcaption>Histogram of customer’s recency</figcaption></figure><p>Here, we can note that the histogram is biased towards the left side and hence this is a sign of distribution which is a right-skewed distribution and also we can see that the rug plot is crowded between 0 and 400. Based on that we can see that we have a high concentration of customers in the last 400 days, i.e. the last 4 months.</p><ul><li><strong>Now we’re going to determine the frequency (F) at which customers buy the products.</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/796/1*jhjv53BrpSWyh_8uO2N8EA.png" /><figcaption>Head of frequency</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/403/1*pBrjjPRdxKx97FmKPtNcqA.png" /><figcaption>Histogram of Customer’s Frequency</figcaption></figure><p>In our database, we can see that the majority of customers do not buy more than 10 times.it is not really enough because our data is over a period of 04 years.</p><ul><li><strong>Now at the end, we’re going to determine the Monetary(M).</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/677/1*DGX74XDjYKuLWCOCDsOCdQ.png" /><figcaption>Head of Monetary</figcaption></figure><p>Let’s look at customer distribution based on recency</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/599/1*vqFMR2vfAq8iY-1dvQe-0g.png" /><figcaption>Histogram of customer’s Monetary</figcaption></figure><p>It is marked that not many customers spend more than $3,000.</p><p>Now let’s check the <strong>RFM table</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/778/1*MiOBBx3htwZ-r9eZoMfmYg.png" /><figcaption>Head of RFM</figcaption></figure><p>Thanks to our <strong>RFM table</strong>, we are now going to propose a customer segmentation strategy.</p><blockquote><strong>Customer Segmentation</strong></blockquote><p>Depending on the company’s objectives, customers can be segmented in several ways so that it is financially possible to make marketing campaigns. The ideal customers for e-commerce companies are generally the most recent ones compared to the date of study (our reference date), who are very frequent and who spend enough.<br> The <strong>RFM factors</strong> are therefore very important if you want to know that they are the right customers to send promotional e-mails or to offer new services.</p><p>Based on the RFM table, we will assign a score to each customer between 1 and 3 for each RFM value of a customer.</p><p>3 is the best score. 1 is the worst score. The RFM score of a client is calculated by combining the three scores obtained at R, F and M. For example, the client with ID-1 has a score of 3 in Recency, a score of 3 in Frequency and a score of 3 in Amount (<strong>Monetary</strong>). His RFM score is therefore 3–3–3. In concrete terms, <strong>this is a client who bought most recently and most often, and he spent the most.</strong></p><p>To find the R score, we decide to take the lowest monthly interval, because our distribution is very skewed to the right, so we have to choose only 1 month.</p><p>Below we are developing a function which allows us to find the recency score for each customer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/759/1*gSJ9vgNLmpNzXHomHNkoUQ.png" /></figure><p>We do the same for the frequency of customer purchases.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/761/1*fWAuZxce_vJAAu1TdVArrA.png" /></figure><p>Another simple way to calculate a Monetary score is to use tertiles. The <strong>‘qcut’ </strong>function of pandas will divide the entire range of unique “Monetary” in 3 equal parts. (intervals highlighted in yellow on the image above).</p><p>For more information on the “qcut” function see the documentation on <strong>“</strong><a href="https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.qcut.html"><strong>pd.qcute( )”</strong></a><strong>.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/756/1*A-32qxBu4u0DUN4gibKsbg.png" /></figure><p>These intervals will then be labelled from 1 to 3, in the same way as the recency and the frequency.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/740/1*xaNZ_2_iWp_pu7FZ-zuZGg.png" /></figure><p>So we get our final table with all the scores of recency, frequency, and Monetary</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/487/1*JExK3M8nDGGRJUtRbmWklQ.png" /><figcaption>head of R, F, M</figcaption></figure><p>The final RFM score will be obtained by concatenating all the different R, F and M scores. This will allow us to define customer segments. As customer segmentation really depends on companies’s objectives, we will just settle for the most common segments found in the marketing field. We have been inspired by the segments defined by <strong>Joao Correia</strong> in his article that you will find <a href="https://www.blastanalytics.com/blog/rfm-analysis-boosts-sales"><strong>here</strong>.</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/873/1*AcpsyR5y9PJIj3TJ_7fxgA.png" /><figcaption>Head of RFM_Score</figcaption></figure><p>The common key segments that we will identify in our data set, are shown in the table below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/567/1*UFNcBvdnQEB8LQfhDzFlUg.png" /><figcaption>Key segments (<strong>Joao Correia, July 2016)</strong></figcaption></figure><p>The code below allows us to create a new column “segment” which represents the segment in which our customer is located. We first start to identify the segments: <strong>‘Lost Cheap customers’,’Lost Customer,’Best Customers’, and ’Almost Customers’. We assign ‘others’ for others</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/851/1*Kt_OLGoAhCOW56aMvyXvow.png" /></figure><p>The customers in the <strong>‘Loyal customers’</strong> segment are then identified and assigned to ‘segment’ as well.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/655/1*eC4RuFYHAo-778rfSXP9BQ.png" /></figure><p>We do the same thing for the <strong>‘Big Spenders’</strong> segment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/665/1*9iA1Olv2xxUftNXD-VYKHA.png" /></figure><p>We, therefore, have our customers in the segments that we have defined.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/599/1*vLSjA6lttuHZ12ihl8KDVg.png" /><figcaption>Head of segment</figcaption></figure><p>Of course, these segments can be defined differently according to the objectives that the company sets itself. Customers in the <strong>“others”</strong> segment can allow us to define even more. Given that we have three groups (R, F, M) labelled from 1 to 3, we have <strong>3X3X3=27 possibilities of segmentation.</strong></p><p>We are going to do a small visualization of our segments. Then, we will plot the key segments and then give some marketing recommendations that the company could take to retain those customers</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/776/1*JQod_SeP4RfczXt-3W3Vdw.png" /><figcaption>Customers per segments</figcaption></figure><p>Another more expressive visualization to show the distribution of segments using the squarify plot of matplotlib gives:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/538/1*JqNeqUZtm87V33x25Sl3NQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/803/1*lgxummPGVRMezl7uEokv0g.png" /><figcaption>Customer’s Segments</figcaption></figure><p>These two graphs show that the “Big spenders”, “Lost Cheap Customers” segment are the highest and “Almost Lost” the lowest.</p><blockquote><strong>Recommandations</strong></blockquote><ul><li><strong>Best Customers</strong>: Rewards them for their multiples purchases. They can be early adopters to very new products. Suggest them “Refer a friend”. Also, they can be the most loyal customers that have the habit to order.</li><li><strong>Lost Cheap Customers: </strong>Send them personalized emails to encourage them to order.</li><li><strong>Big Spenders:</strong> Inform them about the discounts to keep them spending more and more money on your products</li><li><strong>Loyal Customers:</strong> Create loyalty cards in which they can gain points each time of purchasing and these points could transfer into a discount</li></ul><p>In our next articles, we will show how machine learning can help in customer segmentation and we will focus on <strong>unsupervised learning </strong>algorithms such as <strong>Kmeans.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=54fc48688681" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-analytics-centre/data-visualization-and-rfm-recency-frequency-and-monetary-analysis-using-python-customer-54fc48688681">Data visualization and RFM( Recency, Frequency and Monetary) analysis using Python-Customer…</a> was originally published in <a href="https://medium.com/data-analytics-centre">Data Analytics Centre</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>