Package opennlp.tools.monitoring

# Interface StopCriteria<T extends Number>

All Superinterfaces:
  `Predicate<T>`

All Known Implementing Classes:
  `IterDeltaAccuracyUnderTolerance`, `LogLikelihoodThresholdBreached`

public interface StopCriteria<T extends Number> extends Predicate<T>
Stop criteria for model training. If the predicate is met, then the training is aborted.

See Also:
  - `Predicate`

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final String`
  `FINISHED`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getMessageIfSatisfied()`

  ### Methods inherited from interface java.util.function.Predicate

  `and, negate, or, test`

- ## Field Details

  - ### FINISHED

    static final String FINISHED
    See Also:
      - Constant Field Values

- ## Method Details

  - ### getMessageIfSatisfied

    String getMessageIfSatisfied()
    Returns:
      A detailed message captured upon hitting the `StopCriteria` during model training.