Huber Loss
- Hybrid of Mean Squared Error (MSE) and Mean Absolute Error (MAE)
- Squared error for small differences
- Absolute error for large differences
- It has a hyperparameter
Huber Loss Formula
Pros
- Differentiable at 0
- good at Handling Outliers
- The hyperparameter
can be tuned to maximize model accuracy
Cons
- Additional conditions make it computationally expensive
- Differentiable only once