Computation of the mean squared error.
calcMSE(preds, y)
preds
Numeric vector of predictions
y
True outcomes
The MSE