Package org.ddogleg.optimization.loss
Class LossTukey
java.lang.Object
org.ddogleg.optimization.loss.LossFunctionBase
org.ddogleg.optimization.loss.LossTukey
- Direct Known Subclasses:
LossTukey.Function,LossTukey.Gradient
Tukey loss (Tukey's biweight function) has similar behavior to
LossHuber but is less sensitive to outliers
because they contribute nothing to the loss.
l(c) = c2/6(1 - [1 - (r/c)**2]**3) if |r| <= c
c2/6 otherwise
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classImplementation of the Tukey loss functionstatic classImplementation of the Tukey Loss gradient -
Field Summary
Fields inherited from class org.ddogleg.optimization.loss.LossFunctionBase
numberOfFunctions -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
LossTukey
protected LossTukey(double threshold)
-