RMSE {measures} | R Documentation |
The RMSE is aggregated as sqrt(mean(rmse.vals.on.test.sets^2))
RMSE(truth, response)
truth |
[numeric] vector of true values |
response |
[numeric] vector of predicted values |
n = 20
set.seed(123)
truth = rnorm(n)
response = rnorm(n)
RMSE(truth, response)