Recalibrating a Job Apply Model After Negative Downsampling
Last updated: November 29, 2026
Quick Overview
You trained a job apply probability model after keeping all positives and only 5% of negatives. The model's average predicted probability is now 20% while the true apply rate is about 1.2%. Explain why and how to recover calibrated probabilities.
0
0
0 solved
You trained a job apply probability model after keeping all positives and only 5% of negatives. The model's average predicted probability is now 20% while the true apply rate is about 1.2%. Explain why and how to recover calibrated probabilities.
LinkedIn trains many click and apply models on heavily imbalanced logs, and downsampling negatives is a standard way to cut training cost. Interviewers check whether you know that downsampling shifts probabilities, can derive the correction, and can measure calibration afterward.
What the Interviewer Expects
- Explains how downsampling changes the class prior
- Derives the correction formula
- Applies it and checks with a worked example
- Measures calibration with reliability diagrams or ECE
- Notes when calibration matters, such as ad auctions or thresholds
- Mentions alternatives like Platt scaling or isotonic regression
Key Topics to Cover
How to Approach This
- Understand the bias-variance trade-off. High training accuracy but low test accuracy signals overfitting.
- Choose evaluation metrics carefully based on the problem. Accuracy alone is often insufficient.
- Feature engineering is often more impactful than model selection.
- Know when to use tree-based models (tabular data) vs neural networks (unstructured data).
- Handle class imbalance with SMOTE, class weights, or appropriate loss functions.
Possible Follow-up Questions
- Does downsampling change the ranking order of predictions?
- When would you prefer isotonic regression over the analytic correction?
- How would you monitor calibration drift in production?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Explore ML Interview PrepSample Answer
Clarify
Negatives were kept with rate . Positives kept with rate 1. The model learned the odds in the sampled data, which are times the true odds. Ask how the score is used: for ranking o...
Approach
Undo the prior shift analytically, then verify with a calibration measure on unsampled holdout data....