This function computes the mean squared error between two numeric vectors.
mse(y, yPred)
y
Vector of actual data.
yPred
Vector of predicted values.
Mean Squared Error.