public class ConfidenceDistribution<V extends java.lang.Number> extends Classification<java.lang.Object,V> implements HasConfidence
Classification.Type| Constructor and Description |
|---|
ConfidenceDistribution(ValueMap<java.lang.Object,V> confidences) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<java.lang.Object> |
getCategories()
Gets the set of known categories.
|
java.lang.Double |
getConfidence(java.lang.Object category)
Gets the confidence of the specified category.
|
Report |
getConfidenceReport(java.lang.Object category) |
computeResult, createOrdering, entryKeys, entrySet, entryValues, getPrediction, getPredictionReport, getResult, getType, getValue, getValueReport, getValues, getWinner, getWinner, getWinnerKeys, getWinnerList, getWinnerRanking, getWinnerValues, keySet, put, setResult, toStringHelpertoStringpublic java.util.Set<java.lang.Object> getCategories()
CategoricalResultFeatureGets the set of known categories.
The set of known categories either equals the set of all categories, or is a proper subset of it.
getCategories in interface CategoricalResultFeature<java.lang.Object>public java.lang.Double getConfidence(java.lang.Object category)
HasConfidenceGets the confidence of the specified category.
getConfidence in interface HasConfidenceCategoricalResultFeature.getCategories()public Report getConfidenceReport(java.lang.Object category)
getConfidenceReport in interface HasConfidenceCategoricalResultFeature.getCategories()Copyright © 2024. All Rights Reserved.