Mean Absolute Percentage Error MAPE
Definition 1
In a regression problem, for a data point and its prediction , the Mean Absolute Percentage Error is defined as follows.
Explanation
Advantages
MAPE provides a highly intuitive interpretation because it explains how well the predictions describe the data in percentage terms, alongside its simple and straightforward computation. Like the multivariate regression coefficient , it is an indicator that can be evaluated absolutely regardless of the scale of the data.
For example, if the MSE of a model is , merely observing this value does not allow you to infer the model’s performance. If the data scale is about , it would be highly accurate, but if the scale is , the model fails to describe the data at all. However, MAPE conveys performance in easily understood percentages such as 85% or 99%, independent of the data scale.
Disadvantages
If exists, MAPE diverges to infinity. This stems from an inherent flaw in the formula, presenting a significant weakness as an evaluation metric due to the potential for numerical issues, irrespective of accuracy.
Of course, avoiding in practice is not a panacea. Even if not exactly , values approaching , typically considered to be smaller than , can sufficiently cause issues.
Another drawback of MAPE, not frequently mentioned but experienced in practical scenarios, is that MAPE is actually not bounded by , meaning that absurd predictions can cause the absolute percentage error to exceed :
- Opposite sign case: For a true value , if the prediction is , then the APE becomes as follows: .
- Grossly incorrect case: For a true value , if the prediction is , then the APE becomes as follows: .
See Also
Kim, S., & Kim, H. (2016). A new metric of absolute percentage error for intermittent demand forecasts. International Journal of Forecasting, 32(3), 669-679. https://doi.org/10.1016/j.ijforecast.2015.12.003 ↩︎