All jobs / Data science / ML / AI / Model Evaluation
Data science / ML / AI interview question · 0–1 years
A peer says “we optimise F1 because that is what ML people do.” Your reply?
The strongest answer
F1 balances precision and recall at one threshold — I use it only if that tradeoff matches the decision; otherwise I pick the metric that does
Why it works
Exactly. F1 is a specific compromise, not a membership card.
What a good answer covers
- F1 is one threshold tradeoff.
- Choose the metric for the action.
- Do not report a buffet to dodge the choice.
- No fake lift %.
Answers that fall short
- Close, but not the strongest: F1 is always better than accuracy, so yes
Better than accuracy is not a theorem. - Weak: I report F1, AUC, and accuracy and let the audience pick a favourite
A buffet of scores is how you hide the decision. - Red flag: I invent an “F1 lift %” against last quarter
No invented lifts.
Who gets asked this
More Model Evaluation questions
- 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?
- Default 0.5 threshold on a 4% positive class. What do you change first?