org.nd4j.linalg.solvers
Class VectorizedBackTrackLineSearchMinimum
- java.lang.Object
-
- org.nd4j.linalg.solvers.VectorizedBackTrackLineSearchMinimum
-
public class VectorizedBackTrackLineSearchMinimum extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor and Description VectorizedBackTrackLineSearchMinimum(OptimizableByGradientValueMatrix optimizable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description doublegetStpmax()doubleoptimize(INDArray line, int lineSearchIteration, INDArray g, INDArray params)voidsetAbsTolx(double tolx)Sets the tolerance of absolute diff in function value.voidsetRelTolx(double tolx)Sets the tolerance of relative diff in function value.voidsetStpmax(double stpmax)
-
-
-
Constructor Detail
-
VectorizedBackTrackLineSearchMinimum
public VectorizedBackTrackLineSearchMinimum(OptimizableByGradientValueMatrix optimizable)
-
-
Method Detail
-
setStpmax
public void setStpmax(double stpmax)
-
getStpmax
public double getStpmax()
-
setRelTolx
public void setRelTolx(double tolx)
Sets the tolerance of relative diff in function value. Line search converges if abs(delta x / x) < tolx for all coordinates.
-
setAbsTolx
public void setAbsTolx(double tolx)
Sets the tolerance of absolute diff in function value. Line search converges if abs(delta x) < tolx for all coordinates.
-
-
DMelt 3.0 © DataMelt by jWork.ORG