Package opennlp.tools.monitoring
Class LogLikelihoodThresholdBreached
java.lang.Object
opennlp.tools.monitoring.LogLikelihoodThresholdBreached
- All Implemented Interfaces:
Predicate<Double>
,StopCriteria<Double>
A
StopCriteria
implementation to identify whether the
difference between the log likelihood of current and previous iteration is under the defined threshold.-
Field Summary
FieldsFields inherited from interface opennlp.tools.monitoring.StopCriteria
FINISHED
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
-
Field Details
-
STOP
-
-
Constructor Details
-
LogLikelihoodThresholdBreached
-
-
Method Details
-
getMessageIfSatisfied
- Specified by:
getMessageIfSatisfied
in interfaceStopCriteria<Double>
- Returns:
- A detailed message captured upon hitting the
StopCriteria
during model training.
-
test
-