Study · 04 — Lab
Customer segmentation by behaviour
Grouping a B2B portfolio by how customers buy, not by how much they bill.
The problem
Treating every customer the same wastes the commercial effort.
What I built
RFM features with log transformation and scaling, K-Means with K chosen by elbow and silhouette, validated with the Adjusted Rand Index and cross-checked against hierarchical clustering.
What changed
Actionable segments, with an interactive demo to explore them.
Tools
- Python
- Scikit-Learn
- K-Means