<?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 Jean-Philippe Mallette on Medium]]></title>
        <description><![CDATA[Stories by Jean-Philippe Mallette on Medium]]></description>
        <link>https://medium.com/@jeanphilippemallette?source=rss-34374fc20012------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Y9N9k27X8cCGTue6aPOKWw.jpeg</url>
            <title>Stories by Jean-Philippe Mallette on Medium</title>
            <link>https://medium.com/@jeanphilippemallette?source=rss-34374fc20012------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 11:50:13 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jeanphilippemallette/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[The Great Data Analyst]]></title>
            <link>https://medium.com/@jeanphilippemallette/the-great-data-analyst-71c04314978a?source=rss-34374fc20012------2</link>
            <guid isPermaLink="false">https://medium.com/p/71c04314978a</guid>
            <category><![CDATA[great]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[data-analytics]]></category>
            <category><![CDATA[data-analyst]]></category>
            <category><![CDATA[leadership]]></category>
            <dc:creator><![CDATA[Jean-Philippe Mallette]]></dc:creator>
            <pubDate>Tue, 26 Oct 2021 14:14:58 GMT</pubDate>
            <atom:updated>2021-11-17T19:23:08.180Z</atom:updated>
            <content:encoded><![CDATA[<p><em>This philosophical piece is the result of my reflection on what great looks like for a data analyst. The great data analyst does not exist, and will most likely never will. I hope this piece can provide some guidance and ultimately accelerate the growth of future data analysts. I have been in your shoes, and I want to help.</em></p><p>The Great Data Analyst focuses on delivering analysis that contributes to better decision-making. The Great Data Analyst is not satisfied by simply spitting out data points. He understands the decision-making that his stakeholders want to make, and he gives them the data points they need in order to make or improve said decision.</p><p>The Great Data Analyst communicates clearly with charts. When presenting charts, he follows this principle: One slide. One message. One chart. He leverages the advice found in the book <a href="https://www.amazon.ca/-/fr/Gene-Zelazny/dp/007136997X">Say it with Charts</a>.</p><p>The Great Data Analyst, when writing a summary page of his analysis, follows the <a href="https://www.amazon.ca/-/fr/Barbara-Minto/dp/0273710516/ref=sr_1_2?__mk_fr_CA=%C3%85M%C3%85%C5%BD%C3%95%C3%91&amp;crid=3FULW651QZAEJ&amp;dchild=1&amp;keywords=pyramid+principle&amp;qid=1635169934&amp;s=books&amp;sprefix=pyramid+%2Cstripbooks%2C156&amp;sr=1-2">Pyramid Principle</a> structure of communication. He starts by presenting the insights or recommendations first and proves his points clearly and logically following MECE <a href="https://strategyu.co/wtf-is-mece-mutually-exclusive-collectively-exhaustive/#:~:text=MECE%20is%20an%20acronym%20for%20the%20phrase%20Mutually%20Exclusive%2C%20Collectively%20Exhaustive.&amp;text=When%20applied%20to%20information%2C%20mutually,inclusive%20of%20all%20possible%20options.">Framework</a>.</p><p>When creating dashboards, The Great Data Analyst is empathetic with his audience, and he writes charts in the style that his audience prefers to see. Some individuals prefer grid, other visual graphs and etc. He takes that into account.</p><p>When writing SQL, The Great Data Analyst makes sure his SQL follows coding best practices such as those outlined in the book <a href="https://www.amazon.ca/-/fr/Robert-Martin/dp/0132350882/ref=sr_1_1?__mk_fr_CA=%C3%85M%C3%85%C5%BD%C3%95%C3%91&amp;dchild=1&amp;keywords=clean+code&amp;qid=1635170220&amp;s=books&amp;sr=1-1">Clean Code</a>. His SQL is readable by his peers, reproducible, tested, and well-governed. The Great Data Analyst does not reinvent the wheel when calculating standard KPI’s</p><p>When writing complex SQL, The Great Data Analyst progress methodically. He leverages mathematical approaches to problem-solving such as the one outline in the book <a href="https://www.amazon.ca/-/fr/G-Polya/dp/069116407X/ref=sr_1_1?__mk_fr_CA=%C3%85M%C3%85%C5%BD%C3%95%C3%91&amp;dchild=1&amp;keywords=how+to+solve+it&amp;qid=1635170488&amp;s=books&amp;sr=1-1">How to Solve it</a>.</p><p>The Great Data Analyst knows Statistics. But he does not attribute merit to the use of fancy statistics. He cares about the outcome. He cares about choosing the right statistics for the job. If a simple T-Test does the job, then so be it. We don’t need to go Bayesian all the time.</p><p>The Great Data Analyst leads data evangelism efforts. He writes use cases that he can show to the team. He communicates to the team where to find relevant KPIs. He proactively builds and strengthens relationships with the different stakeholders to increase there data literacy competencies.</p><p>The Great Data Analyst plan his tasks, estimates the time it takes to complete them, and follow through on all commitments. If he says he’s gonna deliver on XYZ date, then he delivers on that date. Otherwise, he makes sure to inform his manager well before that date, that the delivery date now changes to Y for X reasons.</p><p>The Great Data Analyst interacts with his assigned product on a daily basis and plays the competitions. He understands deeply his product &amp; the competition.</p><p>The Great Data Analyst thinks exponentially. He understands the value of continuously enriching the database to deliver more value over time.</p><p>The Great Data Analyst follows best practices when it comes down to tracking documentation. He follows the recommendation that I have outlined <a href="https://medium.com/@jeanphilippemallette/insights-on-data-tracking-mobile-gaming-d5bb4671b6a5">here</a>.</p><p>The Great Data Analyst pushes the analytic boundary of the studio by contributing to the evolution of the data practices, conducting POC of new tools, and by developing his peer.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=71c04314978a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Prophet Auto Selection with Cross-Validation]]></title>
            <link>https://medium.com/@jeanphilippemallette/prophet-auto-selection-with-cross-validation-7ba2c0a3beef?source=rss-34374fc20012------2</link>
            <guid isPermaLink="false">https://medium.com/p/7ba2c0a3beef</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[prophet]]></category>
            <category><![CDATA[timeseries]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Jean-Philippe Mallette]]></dc:creator>
            <pubDate>Thu, 16 Aug 2018 11:57:05 GMT</pubDate>
            <atom:updated>2018-08-16T12:11:08.438Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Prophet is an Automatic Forecasting Procedure available both on R and Python. It Implements a procedure for forecasting time series data based on an additive model where non-linear trends are fit with yearly, weekly, and daily seasonality, plus holiday effects.</em></p><p>This blog post is a first attempt to answer Prophet Github issues #549 Creating an “auto” selection mode using AIC/Cross-Validation. Link to the issue <a href="https://github.com/facebook/prophet/issues/549">here</a></p><p>bletham, a contributor to the package suggested to do the following :</p><blockquote>There are tools for computing various metrics of predictive power (see performance_metrics<a href="https://github.com/facebook/prophet/blob/v0.3/notebooks/diagnostics.ipynb">https://github.com/facebook/prophet/blob/v0.3/notebooks/diagnostics.ipynb</a>), so you could do this with the cross validation by choosing the metric you care about (MAPE perhaps) on the forecast horizon that you care about, and then running the cross_validation and calling performance_metrics (in this case with rolling_window=1 to get a single number to use to compare performance of various settings.)</blockquote><p>This blog post explain how to implement this proposition with Python</p><h4>Parameter Grid</h4><p>The first step is to create a grid of attributes for cross_validation. I propose two ways to do this:</p><ul><li>Import the ParameterGrid class from sklearn package</li><li>Create a minimalist functions to create a parameter grid</li></ul><p>Code : Import the ParameterGrid class from sklearn package</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/d927d9b1bf73d819d0181283ad839ff8/href">https://medium.com/media/d927d9b1bf73d819d0181283ad839ff8/href</a></iframe><p>Code : Create a minimalist functions to create a grid of parameters</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/60cbbf51e947a0f5638e79b8ef924145/href">https://medium.com/media/60cbbf51e947a0f5638e79b8ef924145/href</a></iframe><h4>Create a Cross-Validation and Performance Metric Loop Function</h4><p>Propose implementation referring to the suggestion</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/72082ed0f329fc35b7db80dd3fc5debb/href">https://medium.com/media/72082ed0f329fc35b7db80dd3fc5debb/href</a></iframe><h4>Next Step (for those interested)</h4><ul><li>Investigate how to implement AIC for model selection</li><li>propose a pull request for an implementation of the loop (with tests)</li><li>Investigate ways to implement the loop with R</li></ul><h4>Conclusion</h4><p>❤ if you would like this built-in Prophet :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7ba2c0a3beef" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Insights on Churn Prediction Complexity]]></title>
            <link>https://medium.com/data-science/insights-on-churn-prediction-complexity-30b32d466660?source=rss-34374fc20012------2</link>
            <guid isPermaLink="false">https://medium.com/p/30b32d466660</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[churn]]></category>
            <category><![CDATA[predictions]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[mobile]]></category>
            <dc:creator><![CDATA[Jean-Philippe Mallette]]></dc:creator>
            <pubDate>Thu, 22 Jun 2017 17:46:38 GMT</pubDate>
            <atom:updated>2023-09-02T18:13:31.154Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*vBCmx8fNh0XoRedy" /><figcaption>Photo by <a href="https://unsplash.com/@momentsbygabriel?utm_source=medium&amp;utm_medium=referral">Gabriel Crismariu</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>If only conducting a churn prediction was like competing in a Kaggle competition.</p><p>You already have a data set, a great infrastructure, a criterion to measure success of your prediction and your target and features are well-defined. You only have to do some feature engineering and test some algorithms and voila you got something. I wish it was that easy.</p><p>In reality, it’s quite complex. I have been working on Churn prediction in the mobile gaming industry for quite some time and this article will expose some of the complexity related to this kind of prediction.</p><ol><li><em>How do you plan to use your result in order to generate ROI? </em>That is extremely important, yet too often neglected. If a certain user as a high probability of churn, how do you intend to act? There is no point in shipping something complex that cannot be acted upon.</li><li><em>What is the goal of the prediction?</em> Is it to understand or to predict users that are likely to churn? This often leads to two different sets of algorithm you will use.</li><li><em>Are there benchmarks or best practices in your industry that you should be aware of?</em> This will certainly have an impact on what you will try to explain and/or predict.</li><li><em>How do you measure the success of your prediction?</em> If you are considering churn as a binary classification problem, a user that do not churn can be pretty rare. You might be tempted to use the Partial area under the ROC curve (PAUC) rather than the AUC or a custom weighted metric (score = sensitivity * 0.3 + specificity * 0.7).</li><li><em>How do you know when to stop improving your prediction and ship your first version? </em>Once you have establish your score criterion, you must establish a threshold. the threshold value will inform you when too ship.</li><li><em>Have you agreed with stakeholders on the measure of success of your model?</em></li><li><em>Do you want to predict all your user or only a segment?</em> For example, if you want to predict new user or veteran user, you might not use the same features.</li><li><em>What is the target?</em> It’s interesting, but you could treat churn prediction as a classic binary problem (1 : churn user, 0 : not churn), but you could also consider the Y as the number of sessions played.</li><li><em>What are your features? </em>Are you going to use time dependent features?<em> </em>Base on your industry knowledge, What are the most important features to predict churn? Are they easily computed base on your current database? Have you considered the famous RFM features?</li><li><em>How do you get the data? </em>Do you need to make batch SQL calls to gather the desired data shape or do you need to start with streaming data or do you intend to evolve from batch to streaming as you ship better version?</li><li><em>How do you intend do clean your data</em>? How do you deal with missing, aberrant and extreme value that can screw up your model.</li><li><em>As you code, what should you test ?</em> Google Published a great <a href="https://research.google.com/pubs/pub45742.html">article</a> that provides a set of actionable tests to help you get started.</li><li><em>How do you push your work in production?</em> Do you need to push your prediction result in a database or do you need to make your model available as a REST API. How do you collaborate with the software engineer?</li><li><em>How are you going to monitor the quality of your prediction in production? </em>Are you going to create a dashboard? Will you create a table in your database containing your log? What will you monitor ? How do you intend to act base on certain KPI of your prediction quality?</li><li><em>What is the maintenance process of your model? </em>Do you intend to make a change to your model once every month, every quarter? What are you planning to change and what is the history of the changes.</li><li><em>What are your deliverables? </em>How to you plan to improve your model over time?</li><li><em>Which tool are you going to use?</em> In must cases, you will be using either R, Python or Spark. Spark is recommended when you really have big data (10 millions rows to predict). Note that the Spark ML library is limited in contrast to the top Python Library (tensorflow, sklearn…)</li><li><em>Which Packages are you going to use to make a prediction? </em>There are so many packages are there (sklearn, H2O, TPOT, TensorFlow, Theano…. etc)</li><li><em>How do you deal with reengage user?</em> What if you decided to predict user that will churn within the next 30 days ? What if they come back after 30 days? How do you consider this bias within your analysis.</li><li><em>Which algorithm are you going to use? </em>It could be Random Forest, SVM, Linear Regression, Neural Network or another. You could also use an automatic Machine learning to find your first model. Whatever you decide to choose, you need to know the data assumption of each algorithm.</li></ol><p>Here is the best part, you have not even started to code…</p><h4>Links to Great Articles</h4><ul><li>Churn as a regression Problem : <a href="https://www.google.ca/search?q=delta+dna+churn&amp;oq=delta+dna+churn&amp;aqs=chrome..69i57j0l5.3701j0j1&amp;sourceid=chrome&amp;ie=UTF-8">delta dna article</a></li><li>Churn for new user : <a href="http://www.gamasutra.com/view/feature/170472/predicting_churn_datamining_your_.php">gamasutra article</a></li><li>Churn for veteran user : <a href="http://www.gamasutra.com/view/feature/176747/predicting_churn_when_do_veterans_.php?print=1">gamasutra article</a></li><li>Churn prediction survival analysis : <a href="http://www.siliconstudio.co.jp/rd/4front/pdf/DSAA2016_Churn_Prediction_Montreal.pdf">Silicon Studio</a></li><li>Advance example of churn prediction that consider reengagement : <a href="http://Seems like an approach that address all problem related to churn  https://ragulpr.github.io/2016/12/22/WTTE-RNN-Hackless-churn-modeling/">click</a></li></ul><h3>Worth Sharing?</h3><p>Please press the<em>💚</em> right below you. It helps more people find it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=30b32d466660" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-science/insights-on-churn-prediction-complexity-30b32d466660">Insights on Churn Prediction Complexity</a> was originally published in <a href="https://medium.com/data-science">TDS Archive</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>