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.Funcscauchy(double alpha) static FactoryLossFunctions.Funcsgeneral(ConfigLoss config) Create the loss function from a config.static FactoryLossFunctions.Funcshuber(double threshold) static FactoryLossFunctions.FuncshuberSmooth(double threshold) static FactoryLossFunctions.Funcsidentity()static FactoryLossFunctions.Funcssquared()static FactoryLossFunctions.Funcstukey(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:
-