Computes the mean squared error of the predictions.
Usage
MSEmetric(auxData, predicted)
Arguments
- auxData
The true values.
- predicted
The predicted values.
Value
The mean squared error.
Examples
auxData <- c(1, 2, 3, 4)
predicted <- c(1.1, 2.1, 2.9, 4.2)
MSEmetric(auxData, predicted)
#> [1] 0.0175