Full Code Walkthrough - Reducing Churn in E-Commerce with Predictive Modelling

If you read part 1 of this series, ala Churn Prediction for E-Commerce with Predictive Modelling, you know I recently wrapped up a full end-to-end churn prediction project as part of my postgrad program. That article was the 30,000-foot view – the business problem, the segmentation insights, the high-level model results. With this one I simply walk you through the code. But instead of just dumping code snippets for you to copy pasta, I want to walk you through what I actually did and, more importantly, why it matters. ...

June 18, 2025 · 14 min · Shivam Chhuneja

Reducing Churn in E-Commerce: My End-to-End Capstone Project in Predictive Modeling

Customer churn isn’t just a marketing problem - it’s a business survival issue. In competitive industries like e-commerce, losing one customer often means losing several revenue streams, especially when one account can represent multiple users. This post is a breakdown of my churn prediction capstone project for the postgraduate data science program at UT Austin - also tied to my master’s in data science at Deakin U. The project was closed-source, so I can’t release the full notebook, but I’ll walk you through everything I did including code snippets, results, charts, what I learned, and where this project fits in my larger journey into machine learning and MLOps. ...

May 27, 2025 · 5 min · Shivam Chhuneja