Mean absolute percentage error (MAPE)
Mean absolute percentage error is the average size of a model's prediction errors, expressed as a percentage of the actual values.
Last reviewed
A MAPE of 8% means predictions were off by 8% on average, in one direction or the other. It's easy to explain, which is its appeal. It misbehaves when actual values are near zero, and it matters most on held-out data: a low figure on training data mainly shows the model is flexible.
Formula
MAPE = average of |actual - predicted| / |actual|- Topic
- Model quality and Bayesian methods
Related terms
- Normalized root mean squared error (NRMSE)
- Normalized root mean squared error measures a model's typical prediction error, with large misses weighted more heavily, scaled so it can be compared across datasets.
- R-squared
- R-squared is the share of the variation in the outcome that a model accounts for, from 0 (none) to 1 (all).
- Holdout validation
- Holdout validation sets aside part of the data, fits the model on the rest, and checks how well the model predicts the part it never saw.
- Residuals
- Residuals are the gaps between what a model predicted and what actually happened, one for each time period.
Want a second opinion?
Tell us what you're trying to decide and what data you have, and we'll tell you what we'd do. Or take the short readiness quiz first. It's a rough screen, not a verdict. Both open on the home page.