Root Mean Squared Error
The root of the Mean Squared Error between the exact value and the predicted one.
RMSE(Y, Ypred)
Y
: a real vector with the values of the outputYpred
: a real vector with the predicted valuesa real which represents the root of the mean squared error between the target response
and the fitted one :
D. Dupuy
other validation criteria as MAE
or RMA
X <- seq(-1,1,0.1) Y <- 3*X + rnorm(length(X),0,0.5) Ypred <- 3*X print(RMSE(Y,Ypred))
Useful links