All jobs / Data science / ML / AI / Model Evaluation
Data science / ML / AI interview question · 1–3 years
Default 0.5 threshold on a 4% positive class. What do you change first?
The strongest answer
The threshold (and maybe the loss) using a validation slice and the real review capacity — 0.5 is a convention, not a law
Why it works
Exactly. Thresholds are product knobs. Conventions are not optima.
What a good answer covers
- Treat 0.5 as a default, not a law.
- Set the cut with costs and capacity.
- Base rate ≠ automatic threshold.
- Do not maximise accuracy to pick the cut.
Answers that fall short
- Close, but not the strongest: Nothing; 0.5 is statistically optimal
0.5 is not a theorem for imbalanced costs. - Weak: I move it to 0.04 because that is the base rate
Base rate is not automatically the right cut. - Red flag: I move it until accuracy is maximised and stop
Accuracy-max will hug the majority again.
Who gets asked this
More Model Evaluation questions
- 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?
- A model beats the global baseline and loses on new customers. What do you ship?
- Three teams report three “the” model metrics. What do you standardise?
- Risk wants fewer false approvals; growth wants more volume. How do you refuse a single score?
- The company optimised click-through for a year and trust fell. Your postmortem line?