Package org.ddogleg.optimization.loss
Class LossHuberSmooth.Function
java.lang.Object
org.ddogleg.optimization.loss.LossFunctionBase
org.ddogleg.optimization.loss.LossHuberSmooth
org.ddogleg.optimization.loss.LossHuberSmooth.Function
- All Implemented Interfaces:
FunctionNtoS
,LossFunction
- Enclosing class:
- LossHuberSmooth
Implementation of the smooth Huber loss function
-
Nested Class Summary
Nested classes/interfaces inherited from class org.ddogleg.optimization.loss.LossHuberSmooth
LossHuberSmooth.Function, LossHuberSmooth.Gradient
-
Field Summary
Fields inherited from class org.ddogleg.optimization.loss.LossFunctionBase
numberOfFunctions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondouble
process
(double[] input) Computes the output given an array of inputs.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.ddogleg.optimization.loss.LossFunction
fixate, getNumberOfFunctions, getNumOfInputsN, setNumberOfFunctions
-
Constructor Details
-
Function
public Function(double threshold)
-
-
Method Details
-
process
public double process(double[] input) Description copied from interface:FunctionNtoS
Computes the output given an array of inputs.- Specified by:
process
in interfaceFunctionNtoS
- Parameters:
input
- Array containing input values- Returns:
- The output.
-