protected class QuasiNewtonTrainer.GradObjective extends QuasiNewtonTrainer.Objective implements MinUnconMultiVar.Gradient
Modifier and Type | Field and Description |
---|---|
protected int |
nFunctionEvaluations |
protected int |
nObs |
protected int |
nY |
Modifier and Type | Method and Description |
---|---|
void |
gradient(double[] weights,
double[] gradient)
Public interface for the gradient of the multivariate function
to be minimized.
|
f
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
f
protected int nObs
protected int nY
protected int nFunctionEvaluations
public void gradient(double[] weights, double[] gradient)
MinUnconMultiVar.Gradient
gradient
in interface MinUnconMultiVar.Gradient
weights
- a double
array, the point at which the
gradient of the function is to be evaluatedgradient
- a double
array, the value of the gradient
of the function at xCopyright © 2020 Rogue Wave Software. All rights reserved.