Huber Loss

Huber Loss Formula

L={12(yy^)2,if |yy^|δδ|yy^|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