Package org.ddogleg.optimization.loss
Class LossHuber
java.lang.Object
org.ddogleg.optimization.loss.LossFunctionBase
org.ddogleg.optimization.loss.LossHuber
- Direct Known Subclasses:
LossHuber.Function
,LossHuber.Gradient
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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Implementation of the Huber loss functionstatic class
Implementation of the Huber Loss gradient -
Field Summary
Fields inherited from class org.ddogleg.optimization.loss.LossFunctionBase
numberOfFunctions
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
LossHuber
protected LossHuber(double threshold)
-