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

protected class QuasiNewtonTrainer.Objective extends Object implements MinUnconMultiVar.Function
The Objective class is passed to the optimizer.
  • 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.Function
      Public interface for the multivariate function to be minimized.
      Specified by:
      f in interface MinUnconMultiVar.Function
      Parameters:
      weights - a double array, the point at which the function is to be evaluated
      Returns:
      a double, the value of the function at x