Learning objectives
- Explain the ideas behind model evaluation.
- Apply the ideas to the example and identify how you would check the result.
Concepts
Choose metrics that reflect the operational goal. Precision measures the fraction of positive predictions that are correct. Recall measures the fraction of actual positives you detect. On imbalanced data, accuracy can hide systematic failure.
Practical example
If only one in 100 transactions is fraudulent, predicting every transaction as legitimate gives 99% accuracy and misses every fraud.
Try the exercise
- Define the task. If only one in 100 transactions is fraudulent, predicting every transaction as legitimate gives 99% accuracy and misses every fraud.
- Identify the key idea. Choose metrics that reflect the operational goal.
- Check your decision. Describe an alternative and how you would compare its results.