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.

LinkedIn
Machine Learning
Machine Learning Engineer
LinkedIn
November 29, 2026
Machine Learning Engineer
Technical Screen
Machine Learning
Medium

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
calibration
negative downsampling
class imbalance
expected calibration error
How to Approach This
  1. Understand the bias-variance trade-off. High training accuracy but low test accuracy signals overfitting.
  2. Choose evaluation metrics carefully based on the problem. Accuracy alone is often insufficient.
  3. Feature engineering is often more impactful than model selection.
  4. Know when to use tree-based models (tabular data) vs neural networks (unstructured data).
  5. 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 Prep
Sample Answer
Clarify

Negatives were kept with rate w=0.05w = 0.05. Positives kept with rate 1. The model learned the odds in the sampled data, which are 1/w=201/w = 20 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....


Submit Your Answer
Markdown supported