rmse | R Documentation |
Calculate RMSE from cross-validation results
rmse(preds, actual, test_folds, version = 1)
preds |
Predicted values or score |
actual |
Known value |
test_folds |
Length n vector assigning each vector to a given test fold |
version |
1 (default) or 2. 1 averages the RMSE over folds; 2 averages the MSE and then takes the square root. |
Dataframe of results, including RMSE, standard error, and CI
Faber, N. K. M. (1999). Estimating the uncertainty in estimates of root mean square error of prediction: application to determining the size of an adequate test set in multivariate calibration. Chemometrics and Intelligent Laboratory Systems, 49(1), 79-89.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.