QNMinimizer.Evaluator (Apache OpenNLP Tools 1.9.5 API)
Date: 2026-06-18

opennlp.tools.ml.maxent.quasinewton

## Interface QNMinimizer.Evaluator

- Enclosing class:
    QNMinimizer

      public static interface QNMinimizer.Evaluator

  Evaluate 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

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `double` | `evaluate(double[] parameters)` Measure quality of the training parameters

- - ### Method Detail

    - #### evaluate

          double evaluate(double[] parameters)

      Measure quality of the training parameters
      Parameters:
        `parameters` -
      Returns:
        evaluated result

Copyright © 2026 The Apache Software Foundation. All rights reserved.