Package org.ddogleg.optimization.loss
Class LossCauchy.Function
java.lang.Object
org.ddogleg.optimization.loss.LossFunctionBase
org.ddogleg.optimization.loss.LossCauchy
org.ddogleg.optimization.loss.LossCauchy.Function
- All Implemented Interfaces:
FunctionNtoS,LossFunction
- Enclosing class:
- LossCauchy
Implementation of the smooth Cauchy loss function
-
Nested Class Summary
Nested classes/interfaces inherited from class org.ddogleg.optimization.loss.LossCauchy
LossCauchy.Function, LossCauchy.Gradient -
Field Summary
Fields inherited from class org.ddogleg.optimization.loss.LossCauchy
alphaFields inherited from class org.ddogleg.optimization.loss.LossFunctionBase
numberOfFunctions -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleprocess(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, waitMethods inherited from interface org.ddogleg.optimization.loss.LossFunction
fixate, getNumberOfFunctions, getNumOfInputsN, setNumberOfFunctions
-
Constructor Details
-
Function
public Function(double alpha)
-
-
Method Details
-
process
public double process(double[] input) Description copied from interface:FunctionNtoSComputes the output given an array of inputs.- Specified by:
processin interfaceFunctionNtoS- Parameters:
input- Array containing input values- Returns:
- The output.
-