public class VectorizedBackTrackLineSearch extends Object implements LineOptimizerMatrix
LineOptimizerMatrix.ByGradient
Constructor and Description |
---|
VectorizedBackTrackLineSearch(OptimizableByGradientValueMatrix optimizable) |
Modifier and Type | Method and Description |
---|---|
double |
getStpmax() |
double |
optimize(INDArray line,
int lineSearchIteration,
double initialStep)
Returns the last step size used.
|
void |
setAbsTolx(double tolx)
Sets the tolerance of absolute diff in function value.
|
void |
setRelTolx(double tolx)
Sets the tolerance of relative diff in function value.
|
void |
setStpmax(double stpmax) |
public VectorizedBackTrackLineSearch(OptimizableByGradientValueMatrix optimizable)
public void setStpmax(double stpmax)
public double getStpmax()
public void setRelTolx(double tolx)
public void setAbsTolx(double tolx)
public double optimize(INDArray line, int lineSearchIteration, double initialStep) throws InvalidStepException
LineOptimizerMatrix
optimize
in interface LineOptimizerMatrix
InvalidStepException
Copyright © 2014. All Rights Reserved.