mse {IRon} | R Documentation |
Mean Squared Error
mse(trues, preds)
trues |
Target values from a test set of a given data set. Should be a vector and have the same size as the variable preds |
preds |
Predicted values given a certain test set of a given data set. Should be a vector and have the same size as the variable trues |
Value for the mean squared error