Package com.imsl.datamining.neural
Class QuasiNewtonTrainer.Objective
java.lang.Object
com.imsl.datamining.neural.QuasiNewtonTrainer.Objective
- All Implemented Interfaces:
MinUnconMultiVar.Function
- Direct Known Subclasses:
QuasiNewtonTrainer.BlockObjective,QuasiNewtonTrainer.GradObjective
- Enclosing class:
- QuasiNewtonTrainer
The Objective class is passed to the optimizer.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected intprotected int -
Method Summary
Modifier and TypeMethodDescriptiondoublef(double[] weights) Public interface for the multivariate function to be minimized.
-
Field Details
-
nObs
protected int nObs -
nY
protected int nY -
nFunctionEvaluations
protected int nFunctionEvaluations
-
-
Method Details
-
f
public double f(double[] weights) Description copied from interface:MinUnconMultiVar.FunctionPublic interface for the multivariate function to be minimized.- Specified by:
fin interfaceMinUnconMultiVar.Function- Parameters:
weights- adoublearray, the point at which the function is to be evaluated- Returns:
- a
double, the value of the function at x
-