CLASS - type of classes predictedpublic interface ClassificationResult<CLASS>
Classifier. The ClassificationResult models
one or more assigned classes together with associated confidence values for
each class.
Normally, confidence values are bounded between 0 and 1.
| Modifier and Type | Method and Description |
|---|---|
double |
getConfidence(CLASS clazz)
Get the confidence associated with the given class.
|
Set<CLASS> |
getPredictedClasses()
Get the set of classes predicted by this result.
|
double getConfidence(CLASS clazz)
Normally, confidence values are bounded between 0 and 1.
clazz - the target class.Set<CLASS> getPredictedClasses()