powered by
Calculate Root-mean-square error (deviation)
rmse(preds = NULL, actuals = NULL, na.rm = FALSE)
A vector of prediction values in 1, 0, or TRUE, FALSE
A vector of actuals values in 1, 0, or TRUE, FALSE
Should NA values be ignored?
https://en.wikipedia.org/wiki/Root-mean-square_deviation
preds <- c(1.0, 2.0, 9.5) actuals <- c(0.9, 2.1, 10.0) rmse(preds, actuals)
Run the code above in your browser using DataLab