protected class QuasiNewtonTrainer.BlockGradObjective extends QuasiNewtonTrainer.GradObjective
nFunctionEvaluations, nObs, nY
Modifier | Constructor and Description |
---|---|
protected |
BlockGradObjective() |
Modifier and Type | Method and Description |
---|---|
double |
f(double[] weights)
Public interface for the multivariate function to be minimized.
|
void |
gradient(double[] weights,
double[] gradient)
Public interface for the gradient of the multivariate function
to be minimized.
|
public double f(double[] weights)
MinUnconMultiVar.Function
f
in interface MinUnconMultiVar.Function
f
in class QuasiNewtonTrainer.Objective
weights
- a double
array, the point
at which the function is to be evaluateddouble
, the value of the function at xpublic void gradient(double[] weights, double[] gradient)
MinUnconMultiVar.Gradient
gradient
in interface MinUnconMultiVar.Gradient
gradient
in class QuasiNewtonTrainer.GradObjective
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.