# Uses of Interface
opennlp.tools.monitoring.StopCriteria

Packages that use StopCriteria
Package
Description
opennlp.tools.monitoring
opennlp.tools.util
Package containing utility data structures and algorithms used by multiple other packages.

- ## Uses of StopCriteria in opennlp.tools.monitoring

  Classes in opennlp.tools.monitoring that implement StopCriteria
  Modifier and Type
  Class
  Description
  `class`
  `IterDeltaAccuracyUnderTolerance`
  A `StopCriteria` implementation to identify whether the absolute difference between the training accuracy of current and previous iteration is under the defined tolerance.
  `class`
  `LogLikelihoodThresholdBreached`
  A `StopCriteria` implementation to identify whether the difference between the log likelihood of current and previous iteration is under the defined threshold.
  Methods in opennlp.tools.monitoring with parameters of type StopCriteria
  Modifier and Type
  Method
  Description
  `void`
  DefaultTrainingProgressMonitor.`finishedTraining(int iterations, StopCriteria<?> stopCriteria)`
  Captures the training completion progress.
  `void`
  TrainingProgressMonitor.`finishedTraining(int iterations, StopCriteria<?> stopCriteria)`
  Captures the training completion progress.

- ## Uses of StopCriteria in opennlp.tools.util

  Methods in opennlp.tools.util that return StopCriteria
  Modifier and Type
  Method
  Description
  `StopCriteria<Double>`
  TrainingConfiguration.`stopCriteria()`
  Returns the value of the `stopCriteria` record component.
  Constructors in opennlp.tools.util with parameters of type StopCriteria
  Modifier
  Constructor
  Description
  ``
  `TrainingConfiguration(TrainingProgressMonitor progMon, StopCriteria<Double> stopCriteria)`
  Creates an instance of a `TrainingConfiguration` record class.