1 · The data
fictitious clients with the same signals as the game. We know who left, so the machine can learn from the past.
Add bad data quality to the history the model learns from
Applied to the clients only. The test clients stay clean, so step 5 shows the true impact on the model.
What the data cannot see: competitor offers, house purchases, family events… exactly like in real life.
2 · Your rules
Before the machine speaks: write down the rules the room used in the game. They are scored later, on the same unseen clients as the machine.
The room's rules
Signals in the data
No score yet: the room's rules are revealed next to the machine's at step 4.
3 · Train a decision tree
The decision tree looks for the question that best separates leavers from loyal clients, then repeats inside each group.
Why a minimum group size? A rule that covers 2 clients is an anecdote, not a pattern. Anomaly detection (e.g. Isolation Forest) does the opposite: it keeps splitting until one client is isolated, and the fastest isolated are the most unusual.
How is the best level found?
Score = how well the model ranks leavers above loyal clients (50% = coin flip).
What it predicts for new clients
Three new clients the model has never seen (their outcome is revealed only in aggregate, at step 5):
4 · The rules the machine found
Each branch of the tree is a rule a business person can read. Now compare with the rules the room wrote at step 2.
5 · How good is it on new clients?
Tested on the clients of the model has never seen.
Confusion matrix: what the model said × what really happened.
call
fine
How is the threshold chosen?
This ROC curve shows each possible threshold as a dot. Top-left would be perfect; the diagonal is a coin flip.
ROC curve: share of leavers caught against false-alarm rate, one point per threshold.6 · Back to our 8 clients
What does the model say about Marc, Sophie, Jean…? Same threshold as step 5 ().
7 · Monitor new clients
The model is live (inference). new clients arrive in , and whether they leave will only be known months later. Until then, we watch the data going in.
Break the incoming data
The model does not change. Only the data it receives does.
Data drift monitor
What the model does
Known today
Known only months later, when outcomes arrive