The mean of absolute errors between real values and predictions.
MAE(Y, Ypred)
a real which represents the mean of the absolute errors between the real and the predicted values:
where
a real vector with the values of the output
a real vector with the predicted values at the same inputs
D. Dupuy
other quality criteia as RMSE
and RMA
.
X <- seq(-1,1,0.1)
Y <- 3*X + rnorm(length(X),0,0.5)
Ypred <- 3*X
MAE(Y,Ypred)
Run the code above in your browser using DataLab