<?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 Krish Narukulla on Medium]]></title>
        <description><![CDATA[Stories by Krish Narukulla on Medium]]></description>
        <link>https://medium.com/@krisnaru?source=rss-1311e132d214------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Stories by Krish Narukulla on Medium</title>
            <link>https://medium.com/@krisnaru?source=rss-1311e132d214------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 09:34:28 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@krisnaru/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[Machine Learning Platform for Retail Marketing]]></title>
            <link>https://medium.com/@krisnaru/machine-learning-platform-for-retail-marketing-cadd1fb07dd0?source=rss-1311e132d214------2</link>
            <guid isPermaLink="false">https://medium.com/p/cadd1fb07dd0</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[retail-promotions]]></category>
            <dc:creator><![CDATA[Krish Narukulla]]></dc:creator>
            <pubDate>Sun, 22 Jul 2018 15:30:24 GMT</pubDate>
            <atom:updated>2018-07-22T15:30:24.902Z</atom:updated>
            <content:encoded><![CDATA[<h3>Preface</h3><p>Today’s retail companies are witnessing decline in their sales constantly over the last decade (Sears, Kohl’s, Macy’s etc). Physical stores are becoming a burden for them because of operational expenses and customers are preferring e-commerce in today’s Amazon era. Due to this downward trend, companies are on the look out for various promotions to attract their customer base to shop based on their shopping behavior or patterns. Personalized offers have better engagement compared to TV ads, Weekly ads, Whole house offers depending on offer impressions and conversion of the offer to sale.</p><p>This blog talks about architecting machine learning platform: Member Machine for retail marketing. We will touch base various stages of machine learning that includes feature engineering, exploratory data analysis (EDA), predictive machine learning techniques: classification, regression, customer lifetime value (CLV), random-forest, gradient boosting etc , A/B testing approaches, real time scoring and automation.</p><h3>Target Audience</h3><p>ML architects, Software engineers with ML passion, Data Engineers, Data Scientists, ML leaders.</p><h3>Goals</h3><ol><li>Machine predicts the personalized offer (promotion) recommendations for all the members (ex: Amazon Prime members).</li><li>Machine should be able to predict the offers in real time.</li><li>Machine should be able to learn quickly by automatic feedback loop.</li><li>Machine should be able to re-score for real time events.</li><li>Machine needs to be flexible to run marketing campaigns by selecting target member segments, KPIs and business rules.</li><li>Machine should be flexible to integrate with multiple marketing channels like Email, Point of Sale (POS), Online and Mobile.</li></ol><h3>Architecture</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*KHqjGvQtukwtiA-FigoLPQ.jpeg" /></figure><p>In order to build ML model, it requires us to collect the datasources required. Data collection is key step to model building. Lack of required datasources, model would perform poor. We have built multiple supervised predictive machine learning models for each business objective.</p><ol><li>What category the member is going to buy in near term: two weeks?</li><li>How much offer value($5, $10, $20 etc), we should give to member?</li><li>Which communication channel out of Email, Online, Mobile and POS, member is most engaged at?</li><li>What is the offer cadence(1week, 2 weeks or month) for the member?</li><li>What time we should reach out to member?</li></ol><h3>Model life cycle</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5NVPSoIIH24dNbI3gCvIUw.png" /></figure><h4>Model Deployment and Testing</h4><p>Machine learning model development is a two step process, initially data scientist develops the model using test data (which can fit in one computer) on notebooks. Data scientist would hand over the model to Data engineer for full dataset evaluation. Data engineer would encode the model such that it can run on the distributed environment (Spark ML). There is an expectation of model accuracy on the full dataset. If we do not meet the expected accuracy on the full dataset, we need to repeat the first step.</p><p>Before model gets deployed onto the production, it needs to be validated on the real data. Every model needs to be versioned. Typically we would develop multiple models for the same problem and constantly test and evaluate them on the real data.</p><h4>Ensemble Logic</h4><p>Member Machine ensembles the raw scoring models with business rules. It would be rule based model with few guard rails.</p><ol><li>Business team comes up with various business rules like offer richness guard rails, categories to target, member segments to target etc.</li><li>Ensemble logic looks at raw scoring models to personalize the offer to category level.</li><li>Top scored categories would be selected for the offer.</li><li>Offer richness is a function of CLV, Attrition and Redemption.</li><li>We would want to give rich offers for high CLV members.</li><li>We would want to give rich offers for high attrition members.</li><li>We would want to give low offers for bad behaviors. Bad behavior is member’s behavior to the offer, how much business given back us as part of redemption transaction.</li></ol><h4>Real Time Scoring</h4><p>We need to make decision quickly on customer in order to convert them as purchasers. It requires us to understand the customer behavior in real time(near real time). So we need to score our models for the real time events like browse/search/purchase. These real time scores/events are used for making real time decisions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*KtGC3adLrVlaVX6GWstTbA.jpeg" /></figure><h4>Dashboards</h4><p>Marketing owners leverage the dashboards to launch marketing campaigns. Before campaign launch, marketing owners usually test the campaign with multiple input params(segments, offer ceiling, target categories etc) and review the offer recommendations.They can assess the marketing dollars for each campaign, understand the ROI and incremental revenue generated.</p><h3>References</h3><ol><li><a href="https://predictionio.apache.org/">https://predictionio.apache.org/</a></li><li><a href="https://www.shopify.com/retail/how-6-brands-are-using-machine-learning-to-grow-their-business">https://www.shopify.com/retail/how-6-brands-are-using-machine-learning-to-grow-their-business</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cadd1fb07dd0" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>