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

A Primer to Framing Business Problems for Machine Learning

A stakeholder comes to your desk. They’re excited. “We need to use AI,” they say, “to improve customer retention.” You nod, open your editor, and you start thinking. Should I use XGBoost? Or maybe a neural network? How will I set up the pipeline? Stop. Right there. This is the single biggest mistake many of us make when we’re starting out: we jump straight to thinking about solutions and algorithms. ...

June 17, 2025 · 7 min · Shivam Chhuneja

22 Lessons from 1 year in Data Science and Machine Learning

It’s been a year in data science and machine learning. Okay, I lied. Technically a full year and a few months since I officially splooted (wanted to show off my extensive vocabulary) into the world of data science and machine learning with my master’s program. In late 2023 I started learning data science through a Udemy course and in January of 2024 I gave up. Well, not exactly per say. ...

May 28, 2025 · 52 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