protected class QuasiNewtonTrainer.BlockGradObjective extends QuasiNewtonTrainer.GradObjective
nFunctionEvaluations, nObs, nY
Modifier | Constructor and Description |
---|---|
protected |
QuasiNewtonTrainer.BlockGradObjective() |
protected QuasiNewtonTrainer.BlockGradObjective()
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 © 1970-2015 Rogue Wave Software
Built October 13 2015.