Evaluation.mean_squared_error.Rd
Function to calculate the mean squared error (uses the mse loss function internally).
Evaluation.mean_squared_error(data.observed, data.predicted)
data.observed | the true data (Y) |
---|---|
data.predicted | the Y outcome from the estimator |
double the calculated MSE.