Overview#
Mean Squared Error (MSE)Mean Squared Error Loss function#
Mean Squared Error, or sometimes called L2 Loss, is the most common Loss function in Machine LearningIf YHat is a vector of n predictions, and Y is the vector of observed values of the variable being predicted, then the within-sample MSE of the predictor is computed as