All jobs / Data science / ML / AI / Model Evaluation
Data science / ML / AI interview question · 0–1 years
A few huge outliers dominate the loss. What do you say in an interview?
The strongest answer
I name the loss I chose and why — squared error punishes large misses harder; absolute or a robust loss if those rows are noise, not gold
Why it works
Exactly. The loss is a judgement about which mistakes matter. Defaults are not judgement.
What a good answer covers
- Pick a loss for the mistakes you care about.
- MSE emphasises large errors.
- Do not delete residuals for a prettier score.
- Do not hide behind R² alone.
Answers that fall short
- Close, but not the strongest: I always use MSE because it is the default
Default is a starting point, not a reason. - Weak: I drop every large residual until R² looks pretty
Deleting residuals to pretty-up a fit is hiding the data. - Red flag: I report only R² so nobody asks about residuals
R² without residual talk is a decoy.
Who gets asked this
More Model Evaluation questions
- A peer says “we optimise F1 because that is what ML people do.” Your reply?
- Each user has 40 sessions. You split rows at random. What goes wrong?
- When is ROC-AUC a reasonable headline, and when is it a dodge?
- A slide says “model accuracy 99%.” What do you add or refuse?
- Users appear across months. How do you validate a churn model?
- Outreach can handle 200 accounts a week. What do you optimise?
- Devices in one household share an address. You split by device id. Risk?
- The model says 0.9. Ops treats that as “90% sure.” What do you correct?