Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

RMSE

Root Mean Squared Error


Description

The root of the Mean Squared Error between the exact value and the predicted one.

Usage

RMSE(Y, Ypred)

Arguments

Y

a real vector with the values of the output

Ypred

a real vector with the predicted values

Value

a real which represents the root of the mean squared error between the target response Y and the fitted one Ypred:

RMSE = sqrt(mean((Y-Ypred)^2)) .

Author(s)

D. Dupuy

See Also

other validation criteria as MAE or RMA

Examples

X    <- seq(-1,1,0.1)
Y    <- 3*X + rnorm(length(X),0,0.5)
Ypred <- 3*X
print(RMSE(Y,Ypred))

DiceEval

Construction and Evaluation of Metamodels

v1.5
GPL-3
Authors
D. Dupuy and C. Helbert
Initial release
2020-05-04

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.