Class LossHuber

java.lang.Object
org.ddogleg.optimization.loss.LossFunctionBase
org.ddogleg.optimization.loss.LossHuber
Direct Known Subclasses:
LossHuber.Function, LossHuber.Gradient

public abstract class LossHuber extends LossFunctionBase
Huber Loss is a robust loss function that is less sensitive to outliers than the squared error loss. For values less than a threshold it returns the squared error, for values greater than it returns an error that grows linearly instead of quadratic.
  • Constructor Details

    • LossHuber

      protected LossHuber(double threshold)