Huber Loss

Huber Loss Formula

L={12(y−y^)2,if |y−y^|≤δδ|y−y^|−12δ2,otherwise

Pros

  1. Differentiable at 0
  2. good at Handling Outliers
  3. The hyperparameter δ can be tuned to maximize model accuracy

Cons

  1. Additional conditions make it computationally expensive
  2. Differentiable only once

Related Notes