Class GISTrainer.ModelExpectationComputeTask
java.lang.Object
opennlp.tools.ml.maxent.GISTrainer.ModelExpectationComputeTask
- All Implemented Interfaces:
Callable<GISTrainer.ModelExpectationComputeTask>
- Enclosing class:
GISTrainer
private class GISTrainer.ModelExpectationComputeTask
extends Object
implements Callable<GISTrainer.ModelExpectationComputeTask>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intprivate doubleprivate intprivate intprivate final intprivate final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncall()(package private) double(package private) int(package private) int
-
Field Details
-
startIndex
private final int startIndex -
length
private final int length -
threadIndex
private final int threadIndex -
loglikelihood
private double loglikelihood -
numEvents
private int numEvents -
numCorrect
private int numCorrect
-
-
Constructor Details
-
ModelExpectationComputeTask
ModelExpectationComputeTask(int threadIndex, int startIndex, int length)
-
-
Method Details
-
call
- Specified by:
callin interfaceCallable<GISTrainer.ModelExpectationComputeTask>
-
getNumEvents
int getNumEvents() -
getNumCorrect
int getNumCorrect() -
getLoglikelihood
double getLoglikelihood()
-