All jobs / Data science / ML / AI / Model Evaluation
Data science / ML / AI interview question · 0–1 years
Fraud is 1% of rows. The model is “99% accurate.” What is the problem?
The strongest answer
Accuracy can be a majority-class trophy — I ask what happens to the rare class and I name a metric that matches the decision
Why it works
Exactly. Quote the decision, then the metric. A 99% score on a 1% event can be “always say no.”
What a good answer covers
- Accuracy ignores class rarity.
- Name FN/FP costs, then the metric.
- A majority classifier can look “accurate.”
- No invented lift percentages.
Answers that fall short
- Close, but not the strongest: 99% is excellent; ship it
The number without the base rate is a slogan. - Weak: Accuracy is always the wrong metric; I never compute it
Accuracy is fine when classes are balanced and costs are similar — it is not banned. - Red flag: I multiply accuracy by 100 and call it a lift percentage
Do not invent a lift. Say what the model does to each class.
Who gets asked this
More Model Evaluation questions
- You have daily sales for two years. How do you split?
- When do you care more about recall than precision for a screening model?
- The interviewer draws a 2×2 and asks where a false negative sits. Strongest answer?
- A few huge outliers dominate the loss. What do you say in an interview?
- 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?