Your model performs well offline and poorly in production. How do you find out why?
Write your answer first
Saved on this device only — nothing is uploaded.
Reveal model answer & level guide
I would check the boring causes first, because they are the common ones: training and serving computing a feature differently, leakage that let the offline set see something the live path cannot, a distribution that has moved since the training window, or an evaluation split that was not actually held out. Then I would compare the live feature values against the training distribution feature by feature, which usually finds it. A strong answer says how they would have caught it before launch, normally a shadow deployment against live traffic.
- Entry
- Check the data and retrain.
- Mid
- Look for training-serving skew, leakage, or a split that was not truly held out.
- Senior
- Say how you would have caught it pre-launch, and how you compare live to training distributions.