Skip to content
M.U.N.U.O.Data × AI × Systems

Machine Learning Foundations

Model Evaluation

Module 8 of 10

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
  1. Define the task. If only one in 100 transactions is fraudulent, predicting every transaction as legitimate gives 99% accuracy and misses every fraud.
  2. Identify the key idea. Choose metrics that reflect the operational goal.
  3. Check your decision. Describe an alternative and how you would compare its results.
Open the interactive lab

Knowledge check

What is recall?

What does a false positive represent?

Why inspect multiple metrics?