Mean absolute percentage error is commonly used as a loss function for
regression problems and in model evaluation, because of its very intuitive interpretation in terms of relative error.
Definition Consider a standard regression setting in which the data are fully described by a random pair Z=(X,Y) with values in \mathbb{R}^d\times\mathbb{R}, and i.i.d. copies (X_1, Y_1), ..., (X_n, Y_n) of (X,Y). Regression models aim at finding a good model for the pair, that is a
measurable function from \mathbb{R}^d to \mathbb{R} such that g(X) is close to . In the classical regression setting, the closeness of g(X) to is measured via the risk, also called the
mean squared error (MSE). In the MAPE regression context, ==WMAPE==