public interface HasConfidence extends CategoricalResultFeature
A marker interface for classification results that provide a confidence distribution.
Confidences are similar to probabilities, but more relaxed. Most notably, the confidences are not required to sum to 1 across all categories, whereas the probabilities are.
| Modifier and Type | Method and Description |
|---|---|
Double |
getConfidence(String category)
Gets the confidence of the specified category.
|
Report |
getConfidenceReport(String category) |
getCategoriesDouble getConfidence(String category)
Gets the confidence of the specified category.
CategoricalResultFeature.getCategories()Report getConfidenceReport(String category)
CategoricalResultFeature.getCategories()Copyright © 2019. All rights reserved.