Evaluation, lesson 9
Baselines
Compare against the simplest thing that could work.
"The confusion matrix": an accuracy figure depends on how common each class is. This lesson is about what to compare any score against.
Part 1. A score needs a neighbour
A team builds a model that sorts a shop's support tickets into payment, delivery or technical. It gets 82% right on the test set. Everyone's pleased. Then someone counts the test set: 70% of the tickets are about payment.
Your turn
A "model" that labels every ticket as payment, without reading it, would score what?
82% on its own sounded strong. Next to 70% for doing nothing, it's a modest gain. A score only means something next to the score of something simpler.
Baseline
The simplest reasonable system you compare against, run on the same test set with the same metric. The gain you report is the gap between your system and the baseline, not your system's raw score.
Part 2. A ladder of simple things
Keep going with Pro
You've done the first part. Pro opens the rest of this lesson, and every other one.
- A ladder of simple things
- Sometimes the baseline wins
- Give the baseline a fair chance
Evaluation overviewSpotted a mistake? Tell us.