QNMinimizer.Evaluator (Apache OpenNLP Tools 2.5.9 API)
Description: declaration: package: opennlp.tools.ml.maxent.quasinewton, class: QNMinimizer, interface: Evaluator

# Interface QNMinimizer.Evaluator

Enclosing class:
  `QNMinimizer`

public static interface QNMinimizer.Evaluator
Evaluate the quality of training parameters. For example, it can be used to report model's training accuracy when we train a Maximum Entropy classifier.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `double`
  `evaluate(double[] parameters)`
  Measure quality of the training parameters.

- ## Method Details

  - ### evaluate

    double evaluate(double[] parameters)
    Measure quality of the training parameters.
    Parameters:
      `parameters` - The parameters used for training.
    Returns:
      The evaluated result.