All jobs / Data science / ML / AI / Model Evaluation
Data science / ML / AI interview question · 1–3 years
Users appear across months. How do you validate a churn model?
The strongest answer
Hold out later months and whole users — I do not let last month’s behaviour of the same person sit in train while this month is test
Why it works
Exactly. Time and identity. Both can leak. A later window of new (or held-out) people is the adult cut.
What a good answer covers
- Hold out later time and users.
- Do not shuffle calendar blocks.
- Do not test the past with the future.
- One month is a snapshot, not a study.
Answers that fall short
- Close, but not the strongest: Shuffle months so seasonality averages out
Shuffling months is seasonality leakage. - Weak: Train on 2024, test on 2019 to be conservative
Testing the past with the future is not conservative; it is science fiction. - Red flag: Use only one month so the score is clean
One month cannot show shift.
Who gets asked this
More Model Evaluation questions
- Outreach can handle 200 accounts a week. What do you optimise?
- Devices in one household share an address. You split by device id. Risk?
- The model says 0.9. Ops treats that as “90% sure.” What do you correct?
- Default 0.5 threshold on a 4% positive class. What do you change first?
- How do you choose between a miss and a false alarm without fake money numbers?
- You used validation to pick a model and a threshold. What is left?
- You will search a large space of models and features. How do you keep the holdout honest?
- Global AUC is fine; one country is a disaster. What do you present?