RFM Segmentation, CLV & Churn Risk

K-means segmentation, BG/NBD + Gamma-Gamma CLV prediction, a churn model that beats the classic BTYD heuristic, and per-segment strategy with a live power-analysis calculator — real output from the source Python pipeline.

RFM Segmentation · CLV · Churn Risk

From Segments to CLV, Churn Risk, and Experiment Design

K-means segmentation, BG/NBD + Gamma-Gamma CLV prediction, a churn risk model, and per-segment interventions with experiment sample-size design — real output from running the source project's Python pipeline.

Core judgment

Segmentation is just the start. Combining predicted CLV with churn probability into 'CLV at risk' answers where budget should go — and a power-analysis check tells you whether each segment is even big enough for a valid experiment.

Customers

4,966

With a purchase in the 18-month calibration window

Cleaned revenue

£17.74M

805,549 clean transaction rows

Chosen K

5

K-means, not the highest-silhouette k

Champions revenue share

55.8%

From only 9.6% of customers

K-means diagnostics: why k=5

Silhouette score was computed for every k from 2 to 7. k=2 actually scores highest (0.456), but it just splits customers into two indistinct blobs with no operational meaning. k=5 keeps a reasonable silhouette (0.330) while producing 5 business-readable segments that map to different actions — statistical validity checked first, then a business-interpretability choice, not silhouette-maximization alone.

k = 2
0.456
k = 3
0.351
k = 4
0.373
k = 5
0.330
k = 6
0.320
k = 7
0.292

5 segments

SegmentCustomersCustomer %Revenue %Median recencyMedian frequencyMedian monetary
Champions4779.6%55.8%15 days17 orders£6,847.27
Loyal High-Value92018.5%24.5%66 days7 orders£2,547.3
At-Risk1,39028%12.3%207 days3 orders£864.49
Recent Low-Spend58911.9%4.2%18 days3 orders£717.41
Hibernating1,59032%3.2%255 days1 orders£233.09