Read a Confusion Matrix for a Card Fraud Alert Model
Last updated: November 29, 2026
Quick Overview
A fraud model scored 1,000,000 card transactions, of which 2,000 were fraud. It flagged 10,000 transactions and caught 1,500 frauds. Compute precision, recall, false positive rate and accuracy, and explain which numbers matter for customer alerts.
Capital One
November 29, 20260
0
0 solved
A fraud model scored 1,000,000 card transactions, of which 2,000 were fraud. It flagged 10,000 transactions and caught 1,500 frauds. Compute precision, recall, false positive rate and accuracy, and explain which numbers matter for customer alerts.
Capital One texts customers through Eno and its fraud alerts when a charge looks suspicious, so every false positive is a real customer interrupted. Early screens use a quick confusion matrix question to check that you can derive metrics correctly and explain why accuracy is useless at this base rate.
What the Interviewer Expects
- Builds the full 2x2 table from the given counts
- Computes precision, recall, FPR and accuracy correctly
- Explains why accuracy is misleading at a 0.2% fraud rate
- Connects precision to alert fatigue and recall to fraud losses
- Suggests dollar-weighted recall as a complement
Key Topics to Cover
How to Approach This
- Understand the bias-variance trade-off. High training accuracy but low test accuracy signals overfitting.
- Choose evaluation metrics carefully based on the problem. Accuracy alone is often insufficient.
- Feature engineering is often more impactful than model selection.
- Know when to use tree-based models (tabular data) vs neural networks (unstructured data).
- Handle class imbalance with SMOTE, class weights, or appropriate loss functions.
Possible Follow-up Questions
- What happens to precision if fraud rate doubles but the model is unchanged?
- How would you pick between two models with the same AUC but different precision at the operating point?
- Why might the business care about recall by dollars rather than by count?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Explore ML Interview PrepSample Answer
Clarify
Positives are fraud. Given: total , actual fraud , flagged , true positives . I would confirm that "flagged" means an alert was sent, not just...
Approach
Fill the table: , , . Then compute the standard rates and translate each into a business effect....