RMSE {GaSP} | R Documentation |
Calculate the root mean squared error (RMSE) of prediction
Description
Calculate the root mean squared error (RMSE) of prediction
Usage
RMSE(y_pred, y_true, normalized = FALSE)
Arguments
y_pred |
A vector of predicted output values. |
y_true |
A vector of true output values. |
normalized |
An optional boolean: if |
Value
The RMSE or normalized RMSE.
Examples
RMSE(borehole_pred$y_pred$Pred, borehole$y_true)
RMSE(borehole_cv$Pred, y)
[Package GaSP version 1.0.6 Index]