Level 2 · Module 12 · 10 minutes
Measuring numeric mistakes: the average miss
- Explain what an absolute error is and how the mean absolute error is built.
- Explain why large misses may need to count more and what that costs.
- Describe what else to report, such as worst misses, units and a baseline.
When a model predicts a number, an error is the distance between the prediction and the true value. A delivery estimate that misses the actual time by ten minutes has an absolute error of ten minutes. Regression is judged with measures built from those distances, not with a share of correct answers.
The average miss
The mean absolute error, usually shortened to MAE, adds the size of every miss, ignoring direction, and divides by the number of predictions. It answers a practical question: on a typical case, how far off is this model, in the same units as the target? A manager can compare that number with the cost of being wrong and with a plain baseline such as always predicting the average.
Why some errors should count more
An average treats a small miss and a large miss in proportion. Sometimes a large miss is much worse than several small ones: a stock estimate far too low can empty a shelf, while several slight misses are absorbed. Squaring the misses before averaging, then taking the square root, gives a measure that punishes big misses more heavily. The trade-off is that one bad case can dominate the score, so both measures are worth reporting.
What to report besides an average
- The worst misses, because they usually cause incidents.
- The error in the units people actually use, such as hours, boxes or degrees.
- The error by group or period, since an average can hide a failing segment.
- The comparison with a baseline, without which a number means little.
Errors do not cancel
A plain average of signed errors can look close to zero while the model is wildly wrong in both directions, because plus and minus cancel. Taking the absolute value first, or squaring, keeps direction out of the score. This is why the size of the miss is measured before any averaging, and why a model can be described as unbiased yet still inaccurate.
Practice versus a live model
Computing an average miss on a short written table is a simplified teaching picture of evaluation. Real software computes these measures on held-out rows and reports them with unit costs, and a commercial forecast is usually judged with more than one error measure. No model is trained here; the values in the exercise are hypothetical examples.
Common misconception
A regression model's average error is small, so its predictions are reliable for every case. An average hides the distribution of misses. A model can be close most of the time and badly wrong occasionally, and the bad cases usually matter most. Report the worst misses, the units, performance by group and a baseline before treating a small average as reliability.
Guided practice
On paper, write three hypothetical delivery estimates and the actual times, then compute each absolute miss and the average miss. Add one case with a very large miss and recompute. Then decide which measure, the average or a squared version, better reflects the risk to a delivery promise, and write one sentence explaining the choice. This is a paper exercise; no model is trained.
Knowledge check
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