Skip to main contentSkip to navigationSkip to footer
DigiTransact AI Education Centre Start Learning

Level 2 · Module 7 · 10 minutes

Judging a supervised model honestly

What you will learn
  • Choose a fair comparison for a model.
  • Explain why a single overall score can mislead.
  • Recognise the warning signs of leakage and overfitting in results.

Good results are easy to produce by accident. Test on the training data and the model looks excellent. Choose a flattering score and it looks better. Tune the settings against the test set often enough and the test set stops being honest. Checking a model well means removing those accidents.

Start with a baseline

Before praising a model, compare it with something plain: always predict the most common answer, use last month's average, or follow the existing rule. If the model cannot beat the simple approach, it is not adding value, however sophisticated it sounds.

Test on data the model never saw

The final estimate of performance should come from cases held back from training and not used for tuning. If the data is a sequence in time, hold back the most recent period, because that is the closest thing to the future the model will meet.

Pick the measure that matches the cost

For classification, ask how often real cases are caught and how often false alarms are raised, rather than one overall score. For regression, ask what a typical error is and what the worst errors look like. A single number hides which mistakes are being made, and some mistakes matter far more than others.

Check groups, not only the average

A model can be decent overall and poor for one type of case: one branch, one product category, one group of customers. Breaking the results down often reveals the most important weakness. It also exposes bias that the overall score conceals.

Warning signs

An exercise, not an evaluation

Scoring guesses in a classroom is a simulation of measurement. It teaches you to compare fairly and to notice where a score hides detail. A real evaluation uses software on held-back data, and it happens before the model is trusted, not after it has already been deployed.

Common misconception

A model with a high overall score on its test data is proven to be reliable in use. A good score is one piece of evidence. It must come from data the model did not see, be compared with a baseline, and be broken down across groups and error types. A score hides which mistakes are made.

Guided practice

Take any prediction idea and write a short evaluation plan: two baselines you would compare with, which data you would hold back, and two error types you would report separately. Add one warning sign you would watch for. This is a planning exercise; no results are being claimed.

Knowledge check

1. What is the purpose of comparing a model with a simple baseline?

2. Which result is the strongest warning of leakage?

3. The same test set is reused to tune many settings until the scores look good. What has happened?

Independent practice

Write a short example from your own work or daily life and decide whether it is AI, ordinary software or a mixture. Then explain why. Save it in your notes; no account is required.

Last reviewed: · Report a problem

Last updated: