Package cc.mallet.optimize
Class GradientBracketLineOptimizer
- java.lang.Object
-
- cc.mallet.optimize.GradientBracketLineOptimizer
-
- All Implemented Interfaces:
LineOptimizer
public class GradientBracketLineOptimizer extends java.lang.Object implements LineOptimizer
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface cc.mallet.optimize.LineOptimizer
LineOptimizer.ByGradient
-
-
Constructor Summary
Constructors Constructor Description GradientBracketLineOptimizer(Optimizable.ByGradientValue function)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
optimize(double[] line, double initialStep)
Returns the last step size used.
-
-
-
Constructor Detail
-
GradientBracketLineOptimizer
public GradientBracketLineOptimizer(Optimizable.ByGradientValue function)
-
-
Method Detail
-
optimize
public double optimize(double[] line, double initialStep)
Description copied from interface:LineOptimizer
Returns the last step size used.- Specified by:
optimize
in interfaceLineOptimizer
-
-