Calibrate a Decision Model and Choose Its Human Escalation Threshold
Last updated: November 29, 2026
Quick Overview
A decision model returns a probability with each choice, and cases below a confidence threshold go to a human reviewer. Show how to measure calibration (ECE and reliability curves) and pick the threshold that meets a 90% accuracy target on auto-handled cases while maximizing coverage.
Inception
November 29, 20260
0
0 solved
A decision model returns a probability with each choice, and cases below a confidence threshold go to a human reviewer. Show how to measure calibration (ECE and reliability curves) and pick the threshold that meets a 90% accuracy target on auto-handled cases while maximizing coverage.
Mercury Decide is positioned around calibrated probabilities and escalating uncertain cases to humans, so this is the math the product relies on. The interviewer checks that the candidate distinguishes calibration from accuracy, computes ECE correctly, and frames the threshold as a coverage versus precision trade-off estimated on held-out data.
What the Interviewer Expects
- Define calibration and compute expected calibration error with bins
- Explain reliability diagrams and what over and underconfidence look like
- Pick the threshold from a sorted confidence curve on a validation set
- Account for sampling error in the accuracy estimate of the auto-handled slice
- Mention recalibration methods such as temperature or isotonic scaling
Key Topics to Cover
How to Approach This
- Define your hypotheses (H0 and H1) clearly before performing any test.
- Calculate required sample size BEFORE running an experiment, using power analysis.
- Remember the Central Limit Theorem: sample means become approximately normal with large n.
- Watch for Simpson's paradox. Always segment data by key dimensions.
- Distinguish between statistical significance and practical significance.
Possible Follow-up Questions
- Why can a model be well calibrated yet useless for escalation?
- How would you set the threshold if human review costs differ by case type?
- How do you monitor calibration drift after launch when labels arrive late?
- How does ECE behave with very few samples per bin?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Browse Statistics QuestionsSample Answer
Clarify
Labels: do we know the correct decision for a held-out set? Target: 90% accuracy on cases the model handles alone. Cost: each escalation costs reviewer time, so we maximize coverage subject to the tar...
Approach
Measure calibration first, then choose a threshold on a validation split, then confirm on a test split with a confidence interval....
Submit Your Answer
Inception Machine Learning Engineer Interview Guide
Interview process, tips, and preparation timeline