All drills

Building a Customer-Segmentation Engine

What you'll be able to do

Run a marketing team's segmentation playbook as code — turn a customer table into named segments (high-value, at-risk, new) instead of eyeballing a spreadsheet.

The engine behind the "segments" / "audiences" features in marketing & CRM analytics — Spotify, Amazon, Airbnb, HubSpot, Klaviyo — and behind customer analytics everywhere.
Start this internship
Create an account to unlock the 11 sections, the workbench, and AskThili.
Begin

Sections

1. Building a Customer-Segmentation Engine
🔒 locked
2. Lesson 1 - The problem & the data
🔒 locked
3. Lesson 2 - Measuring similarity
🔒 locked
4. Lesson 3 - K-Means from scratch
🔒 locked
5. Lesson 4 - Smarter starts (k-means++)
🔒 locked
6. Lesson 5 - How many segments?
🔒 locked
7. Lesson 6 - From transactions to features
🔒 locked
8. Lesson 7 - Segmenting real customers
🔒 locked
9. Lesson 8 - Profiling & naming segments
🔒 locked
10. Lesson 9 - Production K-Means
🔒 locked
11. Lesson 10 - The segmentation engine
🔒 locked

Dig deeper

📄k-means++: The Advantages of Careful Seeding (Arthur & Vassilvitskii, 2007, SODA)
paper
🔗scikit-learn — Clustering (KMeans) user guide
docs
🔗Python Data Science Cookbook (Subramanian, Packt) — the source recipes
book

Part of these learning paths

I want to become an ML engineer who ships and operates models in production
View path →