public interface HasConfidence extends CategoricalResultFeature<java.lang.Object>
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 |
|---|---|
java.lang.Double |
getConfidence(java.lang.Object category)
Gets the confidence of the specified category.
|
Report |
getConfidenceReport(java.lang.Object category) |
getCategoriesjava.lang.Double getConfidence(java.lang.Object category)
Gets the confidence of the specified category.
CategoricalResultFeature.getCategories()Report getConfidenceReport(java.lang.Object category)
CategoricalResultFeature.getCategories()Copyright © 2024. All Rights Reserved.