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
Statistics & Math
Machine Learning Engineer
Inception
November 29, 2026
Machine Learning Engineer
Technical Screen
Statistics & Math
Medium

0

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
Calibration
Expected Calibration Error
Selective Prediction
Thresholding
Confidence Intervals
How to Approach This
  1. Define your hypotheses (H0 and H1) clearly before performing any test.
  2. Calculate required sample size BEFORE running an experiment, using power analysis.
  3. Remember the Central Limit Theorem: sample means become approximately normal with large n.
  4. Watch for Simpson's paradox. Always segment data by key dimensions.
  5. 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 Questions
Sample 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
Markdown supported

Related Questions