Machine Learning, Data Science, Artificial Intelligence, Education, Technology.
below 1, the quadratic function down-weights them to focus the training on the higher-error data points. Check out the code below for the Huber Loss Function. We also plot the Huber Loss beside the MSE and MAE to compare the difference. MSE MAE (red), MSE (blue), and Huber (green) loss functions