<?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 Azize Sultan Palalı on Medium]]></title>
        <description><![CDATA[Stories by Azize Sultan Palalı on Medium]]></description>
        <link>https://medium.com/@azizepalali?source=rss-68bbec4e5b27------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*cSytKIMK2L_3rxU2rgRWSA.png</url>
            <title>Stories by Azize Sultan Palalı on Medium</title>
            <link>https://medium.com/@azizepalali?source=rss-68bbec4e5b27------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 15:56:37 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@azizepalali/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[A Comprehensive Guide to Calculating the Effectiveness of A/B Test Results]]></title>
            <link>https://medium.com/@azizepalali/a-comprehensive-guide-to-calculating-the-effectiveness-of-a-b-test-results-b33d9a174a5c?source=rss-68bbec4e5b27------2</link>
            <guid isPermaLink="false">https://medium.com/p/b33d9a174a5c</guid>
            <dc:creator><![CDATA[Azize Sultan Palalı]]></dc:creator>
            <pubDate>Wed, 10 Jan 2024 15:37:36 GMT</pubDate>
            <atom:updated>2024-01-10T15:37:36.989Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Introduction</strong></p><p>A/B tests serve as powerful tools for businesses to optimize strategies and enhance user experiences. <strong><em>However, evaluating the obtained results and measuring the real-world impact of these changes is crucial. </em></strong>In this comprehensive guide, I will delve into the fundamentals of calculating the impact of A/B test results using essential metrics and methods. Additionally, I’ll explore the potential effects of running multiple A/B tests simultaneously.</p><h4><strong>Basics of Impact Calculation</strong></h4><blockquote>To evaluate A/B test results effectively, it’s essential to understand the fundamental steps. Begin by comprehending the basic differences between the experimental and control groups. Calculate confidence intervals to establish the range within which the true impact is likely to lie, and interpret p-values to assess the statistical significance of your findings.</blockquote><h4><strong>Relative Effect Ratios</strong></h4><blockquote>Among various metrics used to measure the impact of A/B test results, relative effect ratios play a crucial role. This section will cover the methods of calculating relative effect ratios and interpreting their significance. Understanding how changes in one group relate to changes in another provides deeper insights into the practical implications of your test.</blockquote><h4>The Impact of Running Multiple A/B Tests:</h4><blockquote>Focusing on the simultaneous execution of multiple A/B tests, I will explore the potential effects. Running multiple tests concurrently can introduce complexities, such as interaction effects and overlapping audiences. I’ll discuss strategies to disentangle these effects and accurately assess the impact of each test.</blockquote><p><strong>Practical Application</strong></p><blockquote>Using a real-life A/B test example, I will guide you through a step-by-step process of calculating impact. This section will provide user-friendly examples to demonstrate how impact can be effectively computed. By following these practical steps, you’ll be better equipped to apply impact calculation techniques to your own A/B test scenarios.</blockquote><p><strong>Reliability and Margin of Error</strong></p><blockquote>To assess the reliability of A/B test results, I will discuss methods and margins of error. Understanding the reliability of obtained results is crucial in determining their significance. Learn how to identify and mitigate potential sources of error to ensure that your conclusions accurately reflect the impact of your changes.</blockquote><p><strong>Evaluation of Impact</strong></p><blockquote>In this critical phase, I will explore the thorough evaluation of A/B test impact. Consider factors such as long-term effects, user feedback, and the practical implementation of changes. Effective evaluation goes beyond statistical significance, providing a holistic view of the impact on both metrics and user experience.</blockquote><h4>Conclusion and Further Exploration</h4><p>In the conclusion, I’ll highlight the complexities of evaluating A/B test results and suggest additional resources for you interested in further learning and development. By the end of this article, you will have a comprehensive guide to calculate and evaluate the impact of A/B test results, making informed decisions based on thorough analysis.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b33d9a174a5c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Struggles of A/B/n Testing in E-commerce: Data-Driven Decision Making (+ Errors and Learnings)]]></title>
            <link>https://medium.com/@azizepalali/the-struggles-of-a-b-n-testing-in-e-commerce-data-driven-decision-making-errors-and-learnings-2ae2ec4cfb57?source=rss-68bbec4e5b27------2</link>
            <guid isPermaLink="false">https://medium.com/p/2ae2ec4cfb57</guid>
            <dc:creator><![CDATA[Azize Sultan Palalı]]></dc:creator>
            <pubDate>Sat, 29 Jul 2023 12:31:02 GMT</pubDate>
            <atom:updated>2023-07-29T12:49:15.359Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eQVgKSolbg7wU9h0WPoUWw.png" /><figcaption><a href="https://truelist.co/blog/ab-testing-statistics/">https://truelist.co/blog/ab-testing-statistics/</a></figcaption></figure><blockquote>Introduction</blockquote><blockquote>In the rapidly evolving landscape of business, data has emerged as the foundation for informed decision-making. Among the various methodologies employed, A/B/n testing has become a powerful tool for businesses to gauge the effectiveness of their initiatives and optimize their offerings. However, while A/B/n testing provides valuable insights, it is not without its challenges. In this article, we will explore the significance of A/B/n testing in data-driven decision-making, and delve into the struggles, errors, and valuable learnings that can be derived from this approach.</blockquote><h3>Struggles in E-commerce A/B/n Testing</h3><p><strong>1.1. Traffic Limitations</strong></p><p>Generating sufficient traffic for A/B/n testing can be challenging, particularly for smaller businesses, pages that don’t get enough visitor in e-commerce or niche markets. Without an adequate sample size, the results may lack statistical significance, making it harder to draw reliable conclusions. For this struggle, using <a href="https://towardsdatascience.com/understanding-cuped-a822523641af">CUPED method (Controlled-Experiment using Pre-Experiment Data), a technique to increase the power of randomized controlled trials in A/B tests</a>, is the best problem solver.</p><p><strong>1.2 Sample Size Ratio Mismatched (SRM)</strong></p><p>Sample Size Ratio Mismatched occurs when users are not equally distributed among test variations. Uneven sample sizes can lead to inaccurate test results, making it difficult to identify genuine performance differences between variations. Chi-Squared test of independence tells us given two samples, the probability that the samples are independent.</p><p><strong>1.3. Cannibalization</strong></p><p>Introducing new variations in A/B/n testing can inadvertently lead to cannibalization, where the new variant negatively impacts the sales or performance of existing products or offerings. Balancing innovation and optimization with preserving existing revenue streams becomes a delicate task. Adding guardian metric can assist us about this issue.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*A_caahzuQ99WVbhgNoZP8g.png" /><figcaption><a href="https://www.etsy.com/codeascraft/the-causal-analysis-of-cannibalization-in-online-products">https://www.etsy.com/codeascraft/the-causal-analysis-of-cannibalization-in-online-products</a></figcaption></figure><blockquote><a href="https://www.investopedia.com/terms/m/marketcannibilization.asp#:~:text=Market%20cannibalization%20is%20measured%20by%20the%20Cannibalization%20Rate%3A,%2F%20(Sales%20of%20new%20product)">Cannibalization Rate = 100 x (Lost sales on old product) / (Sales of new product)</a></blockquote><p><strong>1.4. Multiple Variables Complexity</strong></p><p>E-commerce A/B/n tests often involve multiple variables, such as pricing, product images, and shipping options. Analyzing interactions between various elements can become complex and challenging to interpret accurately.</p><p><strong>1.5. Seasonal Fluctuations</strong></p><p>E-commerce businesses experience fluctuations in traffic and user behavior due to seasonal trends and promotions. These variations can obscure the results of A/B/n tests, making it challenging to identify genuine impacts on user behavior.</p><p><strong>1.6. Long-Term Impact Assessment</strong></p><p>Short-term A/B/n tests may show promising results, but it’s crucial to assess their long-term impact. Changes that initially boost conversions might lead to customer dissatisfaction or churn over time. Balancing immediate gains with sustainable growth is a constant challenge.</p><p><strong>1.7. Platform Limitations</strong></p><p>E-commerce businesses often rely on various platforms, such as content management systems (CMS), e-commerce platforms, and third-party tools, to manage their online presence. These platforms might have limitations in terms of implementing A/B/n tests effectively. Some platforms may not allow full control over customizations or restrict the ability to run simultaneous tests, hindering the flexibility of experimentation.</p><p><strong>1.8 Resource Constraints</strong></p><p>Conducting A/B/n tests requires dedicated resources, including skilled data analysts, developers, and designers. Small to medium-sized e-commerce businesses might face challenges in allocating sufficient resources for comprehensive A/B/n testing, which can result in missed opportunities for data-driven optimizations.</p><p><strong>1.9. Mobile Responsiveness</strong></p><p>With the increasing prevalence of mobile shopping, ensuring a seamless mobile user experience is critical for e-commerce success. However, A/B/n testing mobile versions of websites or apps introduces additional complexities due to the diversity of devices and operating systems. Ensuring accurate tracking and interpretation of mobile test results can be challenging.</p><p><strong>1.10. Multichannel Attribution</strong></p><p>E-commerce businesses often engage with customers across various channels, including social media, email, search engines, and offline marketing. Attributing conversions accurately to specific A/B/n test variations across multiple touchpoints is a complex task. Without a comprehensive understanding of multichannel attribution, businesses might misinterpret the impact of their tests on overall revenue.</p><p><strong>1.11. Sample Bias</strong></p><p>Achieving a representative sample of users is crucial for drawing meaningful conclusions from A/B/n tests. However, some e-commerce businesses may mistakenly introduce sample bias by promoting tests to specific customer segments or traffic sources, skewing the test results and leading to inaccurate insights.</p><p><strong>1.12. Interpreting Inconclusive Results</strong></p><p>Not all A/B/n tests produce clear-cut winners or losers. Some tests might result in inconclusive outcomes, making it challenging to determine the best course of action. Knowing how to interpret inconclusive results and deciding whether to retest or implement other approaches is essential for continuous improvement.</p><p><strong>1.13. Balancing Short-Term Wins vs. Long-Term Strategies</strong></p><p>E-commerce businesses often face the dilemma of choosing between short-term wins and long-term growth strategies. A/B/n tests that yield immediate revenue gains may not align with the company’s long-term objectives. Striking the right balance between short-term optimizations and sustainable growth can be a delicate task.</p><h3>Common Errors in E-commerce A/B/n Testing</h3><p><strong>2.1. Overlooking Segmentation</strong></p><p>E-commerce businesses serve diverse customer segments. Ignoring segmentation during A/B/n testing may lead to ineffective conclusions, as different groups may respond differently to variations. Accurate segmentation is key to obtaining valuable insights.</p><p><strong>2.2. Sample Pollution</strong></p><p>Multiple A/B/n tests can sometimes overlap and interfere with each other, leading to sample pollution. This occurs when users are exposed to multiple test variations simultaneously, confounding the results and muddling the data analysis.</p><p><strong>2.3. Running Tests for Too Short a Duration</strong></p><p>Prematurely concluding A/B/n tests can lead to unreliable outcomes. It is essential to allow tests to run for a sufficient duration to capture a representative sample of user behavior and eliminate any potential time-based biases. Tests need to run for an adequate duration to account for variations in user behavior over time. Running tests for too short a period can lead to inconclusive or misleading results, as they may not capture seasonal or weekly variations.</p><p><strong>2.4. Premature Conclusions</strong></p><p>Jumping to conclusions before allowing tests to run for a sufficient duration can lead to misleading insights. It’s essential to give A/B/n tests ample time to gather enough data for meaningful analysis. Prematurely stopping tests based on early results might lead to missed opportunities for optimization.</p><p><strong>2.5. Lack of Hypothesis</strong></p><p>A/B/n testing without a clear hypothesis can result in random experimentation without a specific goal. Formulating a hypothesis before conducting tests helps focus efforts and ensures that data collected aligns with the research question, making the analysis more meaningful.</p><p><strong>2.6. Sample Size Ratio Mismatched (SRM)</strong></p><p>Sample Size Ratio Mismatched occurs when the allocation of users to different variations in an A/B/n test is not proportionate to the desired sample size ratio. In an ideal A/B/n test, each variation should receive an equal and statistically significant sample size, ensuring a fair comparison of performance. However, due to technical errors, human errors, or platform limitations, the distribution of users among variations might become uneven.</p><ul><li>Consequences of SRM:</li></ul><blockquote>a. Statistical Inaccuracy: When variations have imbalanced sample sizes, the statistical power of the test is compromised, leading to unreliable conclusions. Smaller sample sizes might not yield results with sufficient confidence, while larger sample sizes could skew the overall test outcome.</blockquote><blockquote>b. Invalid Inferences: Uneven sample sizes may cause an illusion of differences in performance between variations when, in reality, the differences are not statistically significant. This can lead to misinterpretations and incorrect decisions based on unreliable data.</blockquote><blockquote>c. Misguided Optimization: If one variation receives significantly more traffic than others, it might be mistakenly considered superior based on higher conversion rates. However, this could be an artifact of the sample size imbalance rather than the actual effectiveness of the variation.</blockquote><p><strong>2.7. Looking at too many metrics</strong></p><p>The problem is that if you’re looking at such a large number of metrics at the same time, you’re at risk of making what statisticians call “<a href="https://hbr.org/2015/06/beware-spurious-correlations">spurious correlations</a>.” In proper test design, “you should decide on the metrics you’re going to look at before you execute an experiment and select a few. The more you’re measuring, the more likely that you’re going to see random fluctuations.” With so many metrics, instead of asking yourself, “What’s happening with this variable?” you’re asking, “What interesting (and potentially insignificant) changes am I seeing?” <em>(this item is taken from </em><a href="https://hbr.org/2017/06/a-refresher-on-ab-testing"><em>this </em>website</a><em>, you can check it out !!)</em></p><p><strong>2.8. External Factors</strong></p><p>External factors, such as changes in marketing campaigns, traffic sources, or website updates, can influence the results of A/B/n tests. It’s crucial to monitor and control for these external influences during testing.</p><p><strong>2.9. Novelty Effect and Change Aversion</strong></p><p>Users might respond differently to a new variant initially due to the novelty effect, or they may be resistant to change, leading to change aversion. These effects can skew the results if not considered.</p><h3>Learnings from E-commerce A/B/n Testing</h3><p><strong>3.1. Patience and Careful</strong></p><p>E-commerce businesses must exercise patience and rigor in conducting A/B/n tests. It’s crucial to allow tests to run long enough and gather adequate data before drawing conclusions. Careful data analysis ensures confidence in decision-making.</p><p><strong>3.2. Iterative Experimentation</strong></p><p>E-commerce A/B/n testing is an iterative process. Businesses should continuously experiment with new ideas and variations to adapt to evolving market dynamics and customer preferences. Successful e-commerce companies embrace a culture of continuous improvement.</p><p><strong>3.3. Embrace Failure as a Learning Opportunity</strong></p><p>Not every A/B/n test will yield positive results. However, even so-called “failed” tests provide valuable learnings. Understanding what doesn’t work is as crucial as finding what does. Businesses should view each test as an opportunity to gather insights and refine their approach continuously.</p><p><strong>3.4. Collaborative Cross-Functional Efforts</strong></p><p>A/B/n testing is most effective when it involves collaboration between different teams within a company. Marketing, design, development, and data analysis teams must work together to plan, execute, and interpret tests. Cross-functional efforts foster a culture of data-driven decision-making across the organization, leading to better outcomes and a unified focus on optimization.</p><p><strong>3.5. Segmentation for Better Personalization</strong></p><p>Segmenting the user base allows businesses to deliver personalized experiences tailored to specific groups. A/B/n testing can be even more powerful when used to analyze the performance of variations within different segments. Understanding how different user groups respond to changes can lead to hyper-personalization and improved overall results.</p><p><strong>3.6. Managing SRM:</strong></p><p>To address Sample Size Ratio Mismatched and ensure the validity of A/B/n tests, e-commerce businesses should:</p><p>i. Pre-Test Planning: Careful pre-test planning is crucial to determine the desired sample size for each variation based on statistical significance and the expected effect size.</p><p>ii. Monitor Allocation: Regularly monitor the allocation of users to variations during the test. If imbalances are detected, adjustments can be made to restore proportional distribution.</p><p>iii. Sequential Testing: Consider sequential testing methods that allow for sample size re-estimation during the test based on the observed data. This helps to maintain the desired ratio as the test progresses.</p><p>iv. Analyze Subgroups: If Sample Size Ratio Mismatched occurs due to specific user segments, analyze the data separately for each subgroup to avoid diluting the results <em>(e.g. version, channel, page, component)</em> and making decisions based on aggregated data.</p><p><strong>3.7. Prioritize Data-Driven Decision-Making</strong></p><p>The power of A/B/n testing lies in making informed decisions based on data rather than assumptions or intuition. Emphasizing a data-driven culture throughout the organization can lead to better strategies, improved user experiences, and increased business success.</p><blockquote>Conclusion</blockquote><blockquote>A/B/n testing has revolutionized data-driven decision-making in the business world. By embracing this methodology, companies can make strategic choices based on concrete evidence rather than assumptions. The impact of A/B/n testing on user experience, conversion rates, product development, and marketing strategies is significant. However, businesses must be aware of potential struggles and errors, such as insufficient sample size, multiple comparisons bias, and overlooking long-term impact. By learning from these challenges and embracing a culture of continuous improvement, companies can unlock the true potential of A/B/n testing and drive sustained growth and success in today’s competitive landscape. Additionally, the learnings from A/B/n testing, such as the importance of data-driven insights, continuous optimization, and clear hypotheses, serve as valuable guidelines for making well-informed decisions and maximizing the impact of data in shaping business strategies.</blockquote><p><em>Thank you for reading !!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2ae2ec4cfb57" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Significance of A/B Testing in E-Commerce: Unleashing the Power of Data-Driven Decisions]]></title>
            <link>https://medium.com/@azizepalali/the-significance-of-a-b-testing-in-e-commerce-unleashing-the-power-of-data-driven-decisions-551ade99cf35?source=rss-68bbec4e5b27------2</link>
            <guid isPermaLink="false">https://medium.com/p/551ade99cf35</guid>
            <category><![CDATA[e-commerce-website-design]]></category>
            <category><![CDATA[ecommerce]]></category>
            <category><![CDATA[a-b-testing]]></category>
            <category><![CDATA[conversion-optimization]]></category>
            <dc:creator><![CDATA[Azize Sultan Palalı]]></dc:creator>
            <pubDate>Mon, 17 Jul 2023 18:41:20 GMT</pubDate>
            <atom:updated>2023-07-17T18:41:20.818Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*2ZBEK59G_gytn49aPtlU6w.jpeg" /><figcaption><a href="https://tr.depositphotos.com/">https://tr.depositphotos.com/</a></figcaption></figure><blockquote>Introduction</blockquote><blockquote>In the constantly changing e-commerce world, businesses work hard to improve their websites, increase conversions, and make the user experience better. A crucial tool for success in the digital realm is A/B testing, also called split testing. This data-driven approach helps e-commerce entrepreneurs understand their customers and improve their strategies for remarkable growth. In this article, I’ll explore why A/B testing is essential in e-commerce and how it can revolutionize online business operations.</blockquote><ul><li><strong>Understanding A/B Testing</strong></li></ul><p>A/B testing involves comparing two or more versions of a webpage or an element within it, such as a call-to-action (CTA) button, product image, or headline, to determine which version performs better in terms of conversions. By randomly splitting website traffic between different variations, e-commerce businesses can gather valuable insights into user behavior and preferences. The winning version, which yields the best results, is then implemented as the new standard, improving overall website performance.</p><ul><li><strong>Optimizing User Experience</strong></li></ul><p>User experience (UX) plays a pivotal role in driving online success. A/B testing allows e-commerce companies to experiment with various UX elements, such as navigation, layout, and content placement. By optimizing the user journey, businesses can reduce bounce rates, increase session durations, and ultimately convert more visitors into customers.</p><ul><li><strong>Enhancing Conversion Rates</strong></li></ul><p>One of the primary objectives of any e-commerce venture is to maximize conversion rates. A/B testing enables businesses to identify the most effective strategies for persuading visitors to take the desired action, be it making a purchase, subscribing to a newsletter, or signing up for an account. Small tweaks, such as changing the color of a CTA button or modifying the product description, can lead to significant improvements in conversion rates.</p><ul><li><strong>Personalization and Targeting</strong></li></ul><p>The success of an e-commerce business lies in delivering personalized experiences to customers. A/B testing can be utilized to segment audiences and target specific customer groups with tailored content and offerings. By analyzing the responses of different customer segments, businesses can adapt their marketing strategies to cater to diverse preferences and needs.</p><ul><li><strong>Product Page Optimization</strong></li></ul><p>The product page is the ultimate battleground for e-commerce conversions. A/B testing allows businesses to test various product page elements, such as product images, pricing strategies, and product descriptions, to identify the most compelling combination. A well-optimized product page can dramatically influence a customer’s decision-making process, leading to increased sales.</p><ul><li><strong>Continuous Improvement and Innovation</strong></li></ul><p>E-commerce is a dynamic industry, and consumer trends change rapidly. A/B testing encourages a culture of continuous improvement and innovation. By constantly testing and refining different aspects of their websites, businesses can stay ahead of the competition and adapt to shifting market demands.</p><blockquote>Conclusion</blockquote><blockquote>In conclusion, A/B testing is an indispensable tool for e-commerce businesses seeking growth and success in the digital landscape. The ability to make data-driven decisions, optimize user experiences, and enhance conversion rates is invaluable in today’s competitive market. By embracing A/B testing as an integral part of their strategies, e-commerce entrepreneurs can unlock the full potential of their websites and achieve sustainable, long-term success. As technology and consumer behavior continue to evolve, embracing A/B testing will remain a crucial aspect of any successful e-commerce venture.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=551ade99cf35" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[CLTV Prediction]]></title>
            <link>https://medium.com/@azizepalali/cltv-prediction-68c780932a98?source=rss-68bbec4e5b27------2</link>
            <guid isPermaLink="false">https://medium.com/p/68c780932a98</guid>
            <category><![CDATA[cltv]]></category>
            <category><![CDATA[costumer-experience]]></category>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Azize Sultan Palalı]]></dc:creator>
            <pubDate>Wed, 22 Sep 2021 05:41:52 GMT</pubDate>
            <atom:updated>2025-01-23T09:55:13.482Z</atom:updated>
            <content:encoded><![CDATA[<p><em>with BG-NBD and Gamma-Gamma Models</em></p><p><strong><em>Hello to all of you from a great day.</em></strong></p><p>Today I will talk about how can we calculate customer life time prediction with BN-NBD and Gamma-Gamma Model.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ghpzwy6mX2QGXtOO9e8KVw.jpeg" /></figure><blockquote><strong>What is CLTV (Customer Life Time Value)?</strong></blockquote><p>It is the total value of a customer for that company over their entire relationship with the company.<br>CLTV is a prediction of the net profit attributed to an ongoing relationship between customer and product. By providing a running estimate on how much a particular consumer is likely to spend on that app, CLTV helps set marketing budgets and ensures that companies pursue the most effective users.</p><p>If a company can predict a user’s lifetime value successfully, it provides marketers with a much better base on which to make decisions — helping a company maximize the effectiveness of its advertising spending. The term itself is also known as customer lifetime value (CLV or CLTV) and lifetime customer value (LCV).</p><ul><li>Are the customers we gain profitable in the long run?</li><li>Are we investing enough resources to keep customers loyal and satisfy them based on customer lifetime values?</li><li>What future strategies should we have to increase loyalty to our brand?</li></ul><blockquote><strong>Formulas for CLTV</strong></blockquote><ul><li>Data Preprocessing</li><li>Average Order Value (average_order_value = total_price / total_transaction)</li><li>Purchase Frequency (total_transaction / total_number_of_customers)<br>Repeat Rate &amp; Churn Rate (The number of multiple shopper / Total Customers)</li><li>Profit Margin (profit_margin = total_price * 0.10)<br>Customer Value (customer_value = average_order_value * purchase_frequency)</li><li>Customer Lifetime Value (CLTV = (customer_value / churn_rate) x profit_margin)</li></ul><blockquote><strong>CLTV in 4 Steps</strong></blockquote><ul><li>Data Preperation</li><li>Calculate Expected Sale Forecasting values with BG-NBD Model.</li><li>Calculate Expected Average Profit values with Gamma-Gamma Model.</li><li>Calculate CLTV for a specified time period with BG-NBD and Gamma-Gamma models.</li></ul><pre>def outlier_thresholds(dataframe, variable):<br>    &quot;&quot;&quot;<br>    It allows us to catch outliers.<br>    It determines the upper and lower limits over the quarterly values.<br>    <br>    Parameters<br>    ------<br>    dataframe: dataframe<br>                The dataframe from which variable names are to be retrieved<br>    variable: variable<br>                The variable from which has outlier value<br>                    <br>    Returns<br>    ------<br>    low limit: low limit<br>                It subtracts 1.5 times the interquartile range from quantile(0.01)<br>    <br>    up_limit:  up limit: <br>                It adds up 1.5 times the interquartile value from quantile(0.99)<br>                <br>    Notes<br>    ------<br>    It alone is not enough to get rid of outliers. It works with replace_with_thresholds.<br>    <br>    &quot;&quot;&quot;<br>    quartile1 = dataframe[variable].quantile(0.01)<br>    quartile3 = dataframe[variable].quantile(0.99)<br>    interquantile_range = quartile3 - quartile1<br>    up_limit = quartile3 + 1.5 * interquantile_range<br>    low_limit = quartile1 - 1.5 * interquantile_range<br>    return low_limit, up_limit<br><br>def replace_with_thresholds(dataframe, variable):<br>    &quot;&quot;&quot;<br>    Replaces captured outliers according to the defined upper and lower limit<br>    <br>    Parameters<br>    ------<br>    dataframe: dataframe<br>                The dataframe from which variable names are to be retrieved<br>    variable: variable<br>                The variable from which has outlier value<br>                    <br>    Returns<br>    ------<br>    None<br>                <br>    Notes<br>    ------<br>    It alone is not enough to get rid of outliers. It works with outlier_thresholds.<br>    <br>    &quot;&quot;&quot;<br>    low_limit, up_limit = outlier_thresholds(dataframe, variable)<br>    # dataframe.loc[(dataframe[variable] &lt; low_limit), variable] = low_limit<br>    dataframe.loc[(dataframe[variable] &gt; up_limit), variable] = up_limit<br>    <br>    <br>def data_prep(dataframe):<br>    dataframe.dropna(axis=0, inplace=True)<br>    dataframe = dataframe[~dataframe[&quot;Invoice&quot;].str.startswith(&quot;C&quot;, na=False)]<br>    dataframe = dataframe[dataframe[&quot;Quantity&quot;] &gt; 0]<br>    replace_with_thresholds(dataframe, &quot;Quantity&quot;)<br>    replace_with_thresholds(dataframe, &quot;Price&quot;)<br>    dataframe[&quot;TotalPrice&quot;] = dataframe[&quot;Quantity&quot;] * dataframe[&quot;Price&quot;]<br>    return dataframe<br><br>df = data_prep(df)<br>df.head()</pre><blockquote><strong>recency</strong>: difference between first and last purchase. Weekly (for every single user)<br><strong>T:</strong> the age of the client in the company. Weekly (for every single user)<br><strong>frequency:</strong> total number of repeat purchases. Weekly (frequency&gt;1)(for every single user)<br><strong>monetary_value: </strong>average earnings per purchase.Weekly (for every single user)</blockquote><pre># recency: difference between first and last purchase. Weekly (for every single user)<br># T: the age of the client in the company. Weekly (for every single user)<br># frequency: total number of repeat purchases. Weekly (frequency&gt;1)(for every single user)<br># monetary_value: average earnings per purchase.Weekly (for every single user)<br><br># The date on which the analysis should be performed.<br>df[&quot;InvoiceDate&quot;].max() <br>today_date = dt.datetime(2011, 12, 11)<br><br>cltv_df = df.groupby(&#39;Customer ID&#39;).agg({&#39;InvoiceDate&#39;: [lambda date: (date.max() - date.min()).days,<br>                                                         lambda date: (today_date - date.min()).days],<br>                                         &#39;Invoice&#39;: lambda num: num.nunique(),<br>                                         &#39;TotalPrice&#39;: lambda TotalPrice: TotalPrice.sum()})<br><br>cltv_df.head()   # index problem<br>cltv_df.columns = cltv_df.columns.droplevel(1)  # fixing index problem<br><br># Defining columns names<br>cltv_df.columns = [&#39;recency&#39;, &#39;T&#39;, &#39;frequency&#39;, &#39;monetary&#39;]<br>cltv_df.head()</pre><ul><li><em>For each customer in the table above; recency, T, Frequency and Monetary values were calculated.</em></li><li><em>E.g; There were 52 weeks between the first and last purchase of the customer with the customer number 12347,000(R). S\he made him\her first purchase 52 weeks ago(T). S\he made a total of 7 transactions (F). Him\Her total spend is 615.</em></li></ul><pre># Average Order Value (average_order_value = total_price / total_transaction)<br>cltv_df[&quot;monetary&quot;] = cltv_df[&quot;monetary&quot;] / cltv_df[&quot;frequency&quot;]<br># cltv_df = cltv_df[cltv_df[&quot;monetary&quot;] &gt; 0]<br><br># it should be more than one purchase<br>cltv_df = cltv_df[(cltv_df[&#39;frequency&#39;] &gt; 1)]<br><br># we need weekly value for each customer<br>cltv_df[&quot;recency&quot;] = cltv_df[&quot;recency&quot;] / 7<br><br># we need weekly value for each customer<br>cltv_df[&quot;T&quot;] = cltv_df[&quot;T&quot;] / 7<br><br># cltv_df[&quot;frequency&quot;] = cltv_df[&quot;frequency&quot;].astype(int) if there is a type problem<br><br>cltv_df.head()</pre><p>When we want to make an examination on a certain criterion; We see that monetary values ​​are concentrated in a certain area and the number of customers is concentrated in a decreasing area.</p><h3>BG-NBD Model (Expected Number of Transaction)</h3><p>It is used to estimate how much of a purchase customers can make in a given time period.</p><p><strong>How is the BG-NBD model applied?</strong></p><ul><li>Distribution of purchase histories of all customers,</li><li>Time from the day they made their first purchase</li><li>A single person’s future purchase forecast is calculated, taking into account the t value, the most recent purchase date, and the total number of purchases on the basis of a single customer for which we are estimating.</li></ul><blockquote>T is defined as the time from the customer’s first meeting with the company to the date we set. We calculate to find out who are the customers who have been with us for a long time and for a short time.</blockquote><h3>GAMMA-GAMMA Model (Expected Average Profit)</h3><p>It is used to estimate the future average profitability of the customer in a certain period of time.</p><blockquote>There is no relationship between purchasing frequency and the calculated monetary value.<br>The average calculated value differs for each customer.</blockquote><p>As a conclusion; we have calculated which customer will provide us with how much added value based on customer lifetime value. We can also combine the related analysis with rfm and obtain more efficient results.</p><p>You can find all the steps related to the project via the links I shared for you.</p><ul><li><a href="https://www.kaggle.com/azizesultanbilge/cltv-prediction">CLTV Prediction</a></li><li><a href="https://github.com/azizepalali/customer_life_time_value/blob/main/CLTV_Analiz.py">customer_life_time_value/CLTV_Analiz.py at main · azizepalali/customer_life_time_value</a></li><li><a href="https://bootcamp.veribilimiokulu.com/egitim/veri-bilimci-yetistirme-programi/">Veri Bilimci Yetiştirme Programı</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=68c780932a98" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[RFM Analysis (Recency-Frequency-Monetary)]]></title>
            <link>https://medium.com/@azizepalali/recency-frequency-monetary-64dc6aacdfd4?source=rss-68bbec4e5b27------2</link>
            <guid isPermaLink="false">https://medium.com/p/64dc6aacdfd4</guid>
            <category><![CDATA[customer-experience]]></category>
            <category><![CDATA[clt]]></category>
            <category><![CDATA[rfm-analysis]]></category>
            <category><![CDATA[segmentation]]></category>
            <category><![CDATA[rfm]]></category>
            <dc:creator><![CDATA[Azize Sultan Palalı]]></dc:creator>
            <pubDate>Wed, 22 Sep 2021 03:21:33 GMT</pubDate>
            <atom:updated>2025-01-23T09:58:31.979Z</atom:updated>
            <content:encoded><![CDATA[<p>Customer Segmentation with using RFM</p><p><strong><em>Hello to all of you from a great day.</em></strong></p><p>Today I will talk about how can we make customer segmentation with using RFM.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/1*NoFzCc5Piv9wP3QUbu71BA.png" /></figure><blockquote><strong>What is RFM Analysis?</strong></blockquote><p>RFM is a customer segmentation model that allows you to segment your customers based on <strong><em>their past purchasing behavior</em></strong>.It is a score that consists of the initials of the words Recency, Frequency, Monetary, and is formed by combining these three metrics after calculating them.</p><ul><li><strong><em>Recency: </em></strong><em>When was the last time the customer made a purchase? A customer who has made a recent purchase will be more receptive to sent messages.</em></li><li><strong><em>Frequency: </em></strong><em>How often does the customer buy? Frequent shopping shows that the customer is satisfied with the service received.</em></li><li><strong><em>Monetary:</em></strong><em> How much total did the customer spend on his purchases? Monetary grading helps distinguish high-stakes shoppers from low-shoppers.</em></li></ul><blockquote><strong>Which questions does the RFM model answer?</strong></blockquote><ul><li>Which customers add the most value to your business?</li><li>Which customers are you about to lose?</li><li>Which customers should you keep?</li><li>Which customers should be the focus of your marketing strategies?</li><li>For which customers should you create targeted campaigns?</li></ul><blockquote><strong>How is RFM calculated ?</strong></blockquote><p><strong>Step 1:</strong> Determine the customers’ R, F, M values<br><strong>Step 2:</strong> Sort into groups according to the relevant table <br><strong>Step 3:</strong> Determining the marketing strategy according to the group they are in</p><figure><img alt="Customer 1: Purchased 80 days ago. He made 250 purchases in total. Total shopping amount is 2500." src="https://cdn-images-1.medium.com/max/592/1*92Cx8LVeXjaPK7ra7sVswA.png" /><figcaption>Customer 1: Purchased 80 days ago. He made 250 purchases in total. Total shopping amount is 2500.</figcaption></figure><figure><img alt="The customer who shopped on the date closest to the date of analysis, we score 5 as a good result for us, and 1 for the distant one." src="https://cdn-images-1.medium.com/max/585/1*uxtC7hdkEzJVBq2vWbcRNA.png" /><figcaption>If we interpret values ​​we see; we gave the R value the closest to the date of analysis. 1 and the closest to us 5. (positive result of new shopping). F Value; 5 for a large number of purchases, for a small number of purchases 1. Overspending 5, under-spending 1.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*mmdkcYX4TKJJNKE91NCk9A.png" /></figure><pre># Recency: the difference between today and the customer&#39;s last purchase date, in days<br># Frequency: total number of purchases.<br># Monetary: total spend by the customer.<br><br>df[&quot;InvoiceDate&quot;].max() # The date on which the analysis should be performed.<br>today_date = dt.datetime(2011, 12, 11)<br><br>rfm= df.groupby(&quot;Customer ID&quot;).agg({&#39;InvoiceDate&#39;: lambda date: (today_date - date.max()).days,<br>                                    &#39;Quantity&#39;: lambda num: num.nunique(),<br>                                    &#39;TotalPrice&#39;: lambda price: price.sum()})<br><br>rfm.columns = [&#39;recency&#39;, &#39;frequency&#39;, &quot;monetary&quot;]<br>rfm = rfm[(rfm[&#39;monetary&#39;] &gt; 0)] # condition<br>rfm.head()</pre><p>We created values. In the next step, we will create the scores and name these scores according to the table below.</p><pre># We assign 5 points to the date close to the date of analysis.<br>rfm[&quot;recency_score&quot;] = pd.qcut(rfm[&#39;recency&#39;], 5, labels=[5, 4, 3, 2, 1])<br><br># We give 1 point to customers with low shopping frequency.<br># NOTE : Monetary is not processed because it is not used in segment definition.<br>rfm[&quot;frequency_score&quot;] = pd.qcut(rfm[&quot;frequency&quot;].rank(method=&quot;first&quot;), 5, labels=[1, 2, 3, 4, 5])<br><br># Defining segments<br>rfm[&#39;rfm_segment&#39;] = rfm[&#39;recency_score&#39;].astype(str) + rfm[&#39;frequency_score&#39;].astype(str) # make them categorical<br>rfm.head()</pre><pre>seg_map = {<br>        r&#39;[1-2][1-2]&#39;: &#39;hibernating&#39;,<br>        r&#39;[1-2][3-4]&#39;: &#39;at_risk&#39;,<br>        r&#39;[1-2]5&#39;: &#39;cant_loose&#39;,<br>        r&#39;3[1-2]&#39;: &#39;about_to_sleep&#39;,<br>        r&#39;33&#39;: &#39;need_attention&#39;,<br>        r&#39;[3-4][4-5]&#39;: &#39;loyal_customers&#39;,<br>        r&#39;41&#39;: &#39;promising&#39;,<br>        r&#39;51&#39;: &#39;new_customers&#39;,<br>        r&#39;[4-5][2-3]&#39;: &#39;potential_loyalists&#39;,<br>        r&#39;5[4-5]&#39;: &#39;champions&#39;<br>    }<br>    <br>rfm[&#39;rfm_segment&#39;] = rfm[&#39;rfm_segment&#39;].replace(seg_map, regex=True)<br>rfm = rfm[[&quot;recency&quot;, &quot;frequency&quot;, &quot;monetary&quot;, &quot;rfm_segment&quot;]] # we take the names above<br>rfm.head()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/681/1*56dqWr5K52c9IMxbBfByFA.png" /><figcaption>Segmentation Table</figcaption></figure><p><strong><em>Actions to be taken for “cant loose them”, “at rist” and “need attention”;</em></strong></p><ul><li>We should take actions that will create the desire to shop.</li><li>We should remind ourselves, we can text on special days.</li><li>Pop ups can be removed via mobile or web application.</li><li>Discounts can be provided on special days.</li></ul><h4>Because these customers have a high frequency of shopping, but the date they last shopped is far from the analysis date. So we should make them feel valued and increase their willingness to shop.</h4><pre>seg_map = {<br>        r&#39;[1-2][1-2]&#39;: &#39;hibernating&#39;,<br>        r&#39;[1-2][3-4]&#39;: &#39;at_risk&#39;,<br>        r&#39;[1-2]5&#39;: &#39;cant_loose&#39;,<br>        r&#39;3[1-2]&#39;: &#39;about_to_sleep&#39;,<br>        r&#39;33&#39;: &#39;need_attention&#39;,<br>        r&#39;[3-4][4-5]&#39;: &#39;loyal_customers&#39;,<br>        r&#39;41&#39;: &#39;promising&#39;,<br>        r&#39;51&#39;: &#39;new_customers&#39;,<br>        r&#39;[4-5][2-3]&#39;: &#39;potential_loyalists&#39;,<br>        r&#39;5[4-5]&#39;: &#39;champions&#39;<br>    }<br>    <br>rfm[&#39;rfm_segment&#39;] = rfm[&#39;rfm_segment&#39;].replace(seg_map, regex=True)<br>rfm = rfm[[&quot;recency&quot;, &quot;frequency&quot;, &quot;monetary&quot;, &quot;rfm_segment&quot;]] # we take the names above<br>rfm.head()</pre><p><strong><em>Actions to be taken for “champions”, “loyal customers” and “potential loyalist”;</em></strong></p><ul><li>Discounts can be defined after creating the shopping need.</li><li>We can recommend new and existing products at low discounts.</li><li>We can make a survey and improve our processes according to their feedback.</li><li>Discounts can be provided on special days.</li><li>Personalized e-mail can be sent, phone calls can be made privately.</li></ul><h4><strong>Because these customers are the most valuable and the most loyal customers. Feeling that they are special will increase their loyalty to the company.</strong></h4><pre># Visualization of RFM Segments<br>sgm= rfm[&quot;rfm_segment&quot;].value_counts()<br>plt.figure()<br>sns.barplot(x=sgm.index,y=sgm.values)<br>plt.xticks(rotation=90)<br>plt.title(&#39;Customer Segmentation&#39;)<br>plt.show()</pre><p>As a conclusion; acquiring a new customer is 5 to 25 times more expensive than retaining an existing one. Based on this information; A strategy specific to each segment should be determined before existing customers become churn.</p><p>You can find all the steps related to the project via the links I shared for you.</p><ul><li><a href="https://www.kaggle.com/azizesultanbilge/rfm-analysis">RFM Analysis</a></li><li><a href="https://github.com/azizepalali/rfm_segmentation">GitHub - azizepalali/rfm_segmentation</a></li><li><a href="https://bootcamp.veribilimiokulu.com/egitim/veri-bilimci-yetistirme-programi/">Veri Bilimci Yetiştirme Programı</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=64dc6aacdfd4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ruled Based Classification]]></title>
            <link>https://medium.com/@azizepalali/ruled-based-classification-bb7be8a3c9d?source=rss-68bbec4e5b27------2</link>
            <guid isPermaLink="false">https://medium.com/p/bb7be8a3c9d</guid>
            <category><![CDATA[customer-experience]]></category>
            <category><![CDATA[classification]]></category>
            <category><![CDATA[segmentation]]></category>
            <category><![CDATA[customer-value-management]]></category>
            <category><![CDATA[customer-value]]></category>
            <dc:creator><![CDATA[Azize Sultan Palalı]]></dc:creator>
            <pubDate>Wed, 22 Sep 2021 00:05:15 GMT</pubDate>
            <atom:updated>2021-09-22T00:05:15.533Z</atom:updated>
            <content:encoded><![CDATA[<p><strong><em>Hello everyone from my first article in medium.</em></strong></p><p>Today I will talk about how can we make classification without using any machine lalgorithm methods.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/795/1*U-57G1PaOUbe9npHAj23Ow.png" /></figure><h3>Business Problem:</h3><p>A company that sells souvenirs wants to create new level-based customer definitions. Using the variables in the dataset this company; We will categorize users based on their features and purchasing habits. Then, using these classification outputs, we will try to predict which segment the new user will be in and the average value they will provide to the company.</p><h3>Dataset</h3><p>The dataset includes the values of the products that an American gift company sells and some informations of the users who buy these products.</p><p><strong>Variables (Features)</strong></p><ul><li>PRICE: Customer spend amount</li><li>SOURCE: The type of device the customer is connecting to (IOS/Android)</li><li>SEX: Gender of the customer</li><li>COUNTRY: Country of the customer</li><li>AGE: Age of the customer</li></ul><p>First of all, importing the libaries that we will run with dataset and create the appearance settings. After that, we import the dataset from input csv file.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fjovian.ai%2Fembed%3Furl%3Dhttps%3A%2F%2Fjovian.ai%2Fazizepalali%2Frule-based-classification-1%2Fv%2F1%26cellId%3D4&amp;dntp=1&amp;display_name=Jovian&amp;url=https%3A%2F%2Fjovian.ai%2Fazizepalali%2Frule-based-classification-1%2Fv%2F1%26cellId%3D4&amp;image=https%3A%2F%2Fjovian.ai%2Fapi%2Fgist%2Ff1d43c93b77b4828abd06b7333ac1991%2Fpreview%2F2dd09d0757cd4313aa89c42921a76c94&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;scroll=auto&amp;schema=jovian" width="800" height="200" frameborder="0" scrolling="no"><a href="https://medium.com/media/26c029b604e176f6b101ebbaa116c723/href">https://medium.com/media/26c029b604e176f6b101ebbaa116c723/href</a></iframe><p>We define a function to get to know the variables of the dataset more closely. I preferred to analyze the values ​​in the data set in this way, but you can also use the methods I shared in below for you.</p><blockquote>· df.ndim # ndim: Number of dimensions.<br>· df.shape # shape: shape of datasets<br>· df.size # size: numbers of elements<br>· df.head() # head: first five values of datasets<br>· df.columns # columns: name of columns<br>· df.info # info: get help information for a function, class, or module.<br>· df.describe().T<br>· df.isnull().values.any() # answer of null value<br>· df.isnull().sum() # total of null value</blockquote><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fjovian.ai%2Fembed%3Furl%3Dhttps%3A%2F%2Fjovian.ai%2Fazizepalali%2Frule-based-classification-1%2Fv%2F1%26cellId%3D9%26hideOutput%3Dtrue&amp;dntp=1&amp;display_name=Jovian&amp;url=https%3A%2F%2Fjovian.ai%2Fazizepalali%2Frule-based-classification-1%2Fv%2F1%26cellId%3D9%26hideOutput%3Dtrue&amp;image=https%3A%2F%2Fjovian.ai%2Fapi%2Fgist%2Ff1d43c93b77b4828abd06b7333ac1991%2Fpreview%2F2dd09d0757cd4313aa89c42921a76c94&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;scroll=auto&amp;schema=jovian" width="800" height="200" frameborder="0" scrolling="no"><a href="https://medium.com/media/4f6f9cc5a7aee9d8a6abd0b831e62d2e/href">https://medium.com/media/4f6f9cc5a7aee9d8a6abd0b831e62d2e/href</a></iframe><p>We calculate the average of the prices according to variables such as &quot;COUNTRY&quot;,&quot;SOURCE&quot;,&quot;SEX&quot;,&quot;AGE&quot; and define them agg_df. After that, we define new level based personas by using these variables. For defining personas, we group all the features in the dataset.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fjovian.ai%2Fembed%3Furl%3Dhttps%3A%2F%2Fjovian.ai%2Fazizepalali%2Frule-based-classification-1%2Fv%2F1%26cellId%3D12%26hideInput%3Dtrue&amp;dntp=1&amp;display_name=Jovian&amp;url=https%3A%2F%2Fjovian.ai%2Fazizepalali%2Frule-based-classification-1%2Fv%2F1%26cellId%3D12%26hideInput%3Dtrue&amp;image=https%3A%2F%2Fjovian.ai%2Fapi%2Fgist%2Ff1d43c93b77b4828abd06b7333ac1991%2Fpreview%2F2dd09d0757cd4313aa89c42921a76c94&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;scroll=auto&amp;schema=jovian" width="800" height="200" frameborder="0" scrolling="no"><a href="https://medium.com/media/f0fcea1094906de295b3fdd7b6458701/href">https://medium.com/media/f0fcea1094906de295b3fdd7b6458701/href</a></iframe><blockquote>In the output above, catogories were created according to age variable. This table showed us, while the minimum price obtained from customer in the 15_18 category is 19.000 , for the customer in the 24_35 category is 9.000 .</blockquote><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fjovian.ai%2Fembed%3Furl%3Dhttps%3A%2F%2Fjovian.ai%2Fazizepalali%2Frule-based-classification-1%2Fv%2F1%26cellId%3D14&amp;dntp=1&amp;display_name=Jovian&amp;url=https%3A%2F%2Fjovian.ai%2Fazizepalali%2Frule-based-classification-1%2Fv%2F1%26cellId%3D14&amp;image=https%3A%2F%2Fjovian.ai%2Fapi%2Fgist%2Ff1d43c93b77b4828abd06b7333ac1991%2Fpreview%2F2dd09d0757cd4313aa89c42921a76c94&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;scroll=auto&amp;schema=jovian" width="800" height="200" frameborder="0" scrolling="no"><a href="https://medium.com/media/a099650d737cb87931774f40d52ecfe4/href">https://medium.com/media/a099650d737cb87931774f40d52ecfe4/href</a></iframe><p>Thanks to above; even at this stage of the analysis, we can make some strategic desicions.We have classified the users by country, age, gender and source in output we get. Now, we can reach the category based numbers. <br>As a company, we may want to set targets and increase the relevant ratios. We may decide to with draw from certain markets. We can collect feedback from our customers and make improvements in the relevant area.</p><p>Before I come to my last step, I create segmentation thanks to categories we have determined.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fjovian.ai%2Fembed%3Furl%3Dhttps%3A%2F%2Fjovian.ai%2Fazizepalali%2Frule-based-classification-1%2Fv%2F1%26cellId%3D21&amp;dntp=1&amp;display_name=Jovian&amp;url=https%3A%2F%2Fjovian.ai%2Fazizepalali%2Frule-based-classification-1%2Fv%2F1%26cellId%3D21&amp;image=https%3A%2F%2Fjovian.ai%2Fapi%2Fgist%2Ff1d43c93b77b4828abd06b7333ac1991%2Fpreview%2F2dd09d0757cd4313aa89c42921a76c94&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;scroll=auto&amp;schema=jovian" width="800" height="200" frameborder="0" scrolling="no"><a href="https://medium.com/media/825936f98c3cbb33d8e23adf37c4a4e8/href">https://medium.com/media/825936f98c3cbb33d8e23adf37c4a4e8/href</a></iframe><p>After doing all these steps, we will be making customer predictions without using machine learning algorithms. After entering the inputs, we will be able to know the company’s new customerss in which segment and the average prices that they will bring, thanks to the function below.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fjovian.ai%2Fembed%3Furl%3Dhttps%3A%2F%2Fjovian.ai%2Fazizepalali%2Frule-based-classification-1%2Fv%2F1%26cellId%3D22%26hideOutput%3Dtrue&amp;dntp=1&amp;display_name=Jovian&amp;url=https%3A%2F%2Fjovian.ai%2Fazizepalali%2Frule-based-classification-1%2Fv%2F1%26cellId%3D22%26hideOutput%3Dtrue&amp;image=https%3A%2F%2Fjovian.ai%2Fapi%2Fgist%2Ff1d43c93b77b4828abd06b7333ac1991%2Fpreview%2F2dd09d0757cd4313aa89c42921a76c94&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;scroll=auto&amp;schema=jovian" width="800" height="200" frameborder="0" scrolling="no"><a href="https://medium.com/media/439d54e1cdddb7e8bfec4b2fbd24d30f/href">https://medium.com/media/439d54e1cdddb7e8bfec4b2fbd24d30f/href</a></iframe><p>As a conclusion, rule based classification builds a model that is a consists of rules.It allows you to get to know your customers closely and manage them easily. And also it gives you freedom in determining the rules.</p><p>You can find all the steps related to the project via the links I shared for you.</p><p><em>See you in my next post.</em></p><p><a href="https://www.kaggle.com/azizesultanbilge/rule-based-classification">Rule Based Classification</a></p><p><a href="https://github.com/azizepalali/rule_based_classification/blob/main/rule_based_classification.py">https://github.com/azizepalali/rule_based_classification/blob/main/rule_based_classification.py</a></p><p><a href="https://www.veribilimiokulu.com/">VBO BLOG | Anasayfa</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bb7be8a3c9d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>