Package org.ddogleg.optimization
Class FactoryLossFunctions
java.lang.Object
org.ddogleg.optimization.FactoryLossFunctions
Factory for creating different
LossFunction
and LossFunctionGradient
.-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic FactoryLossFunctions.Funcs
cauchy
(double alpha) static FactoryLossFunctions.Funcs
general
(ConfigLoss config) Create the loss function from a config.static FactoryLossFunctions.Funcs
huber
(double threshold) static FactoryLossFunctions.Funcs
huberSmooth
(double threshold) static FactoryLossFunctions.Funcs
identity()
static FactoryLossFunctions.Funcs
squared()
static FactoryLossFunctions.Funcs
tukey
(double threshold)
-
Constructor Details
-
FactoryLossFunctions
public FactoryLossFunctions()
-
-
Method Details
-
general
Create the loss function from a config. -
cauchy
- See Also:
-
huber
- See Also:
-
huberSmooth
- See Also:
-
tukey
- See Also:
-
squared
- See Also:
-
identity
- See Also:
-