Learn R Programming

IRon (version 0.1.4)

mse: Mean Squared Error

Description

Mean Squared Error

Usage

mse(trues, preds)

Value

Value for the mean squared error

Arguments

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