The L2 loss function, also known as MSE, measures the average point-wise squared difference between the prediction, , and the target value, . Compared to the L1 loss function, the L2 loss function penalizes larger errors: