public interface LineOptimizer
extends java.io.Serializable
Modifier and Type | Method and Description |
---|---|
double |
optimize(org.nd4j.linalg.api.ndarray.INDArray parameters,
org.nd4j.linalg.api.ndarray.INDArray gradient,
org.nd4j.linalg.api.ndarray.INDArray searchDirection)
Line optimizer
|
double optimize(org.nd4j.linalg.api.ndarray.INDArray parameters, org.nd4j.linalg.api.ndarray.INDArray gradient, org.nd4j.linalg.api.ndarray.INDArray searchDirection) throws InvalidStepException
parameters
- the parameters to optimizegradient
- the gradientsearchDirection
- the point/direction to go inInvalidStepException