Package com.imsl.datamining.neural
Class QuasiNewtonTrainer.GradObjective
java.lang.Object
com.imsl.datamining.neural.QuasiNewtonTrainer.Objective
com.imsl.datamining.neural.QuasiNewtonTrainer.GradObjective
- All Implemented Interfaces:
MinUnconMultiVar.Function,MinUnconMultiVar.Gradient
- Direct Known Subclasses:
QuasiNewtonTrainer.BlockGradObjective
- Enclosing class:
- QuasiNewtonTrainer
protected class QuasiNewtonTrainer.GradObjective
extends QuasiNewtonTrainer.Objective
implements MinUnconMultiVar.Gradient
The Objective class is passed to the optimizer.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected intprotected int -
Method Summary
Modifier and TypeMethodDescriptionvoidgradient(double[] weights, double[] gradient) Public interface for the gradient of the multivariate function to be minimized.Methods inherited from class com.imsl.datamining.neural.QuasiNewtonTrainer.Objective
fMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.imsl.math.MinUnconMultiVar.Function
f
-
Field Details
-
nObs
protected int nObs -
nY
protected int nY -
nFunctionEvaluations
protected int nFunctionEvaluations
-
-
Method Details
-
gradient
public void gradient(double[] weights, double[] gradient) Description copied from interface:MinUnconMultiVar.GradientPublic interface for the gradient of the multivariate function to be minimized.- Specified by:
gradientin interfaceMinUnconMultiVar.Gradient- Parameters:
weights- adoublearray, the point at which the gradient of the function is to be evaluatedgradient- adoublearray, the value of the gradient of the function at x
-