public class ConfidenceDistribution<V extends Number> extends Classification<V> implements HasConfidence
Classification.Type| Constructor and Description |
|---|
ConfidenceDistribution(ValueMap<String,V> confidences) |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getCategories()
Gets the set of known categories.
|
Double |
getConfidence(String category)
Gets the confidence of the specified category.
|
Report |
getConfidenceReport(String category) |
computeResult, createOrdering, entryKeys, entrySet, entryValues, getPrediction, getPredictionReport, getResult, getType, getValue, getValueReport, getValues, getWinner, getWinner, getWinnerKeys, getWinnerList, getWinnerRanking, getWinnerValues, keySet, put, setResult, toStringHelpertoStringpublic Set<String> 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 CategoricalResultFeaturepublic Double getConfidence(String category)
HasConfidenceGets the confidence of the specified category.
getConfidence in interface HasConfidenceCategoricalResultFeature.getCategories()public Report getConfidenceReport(String category)
getConfidenceReport in interface HasConfidenceCategoricalResultFeature.getCategories()Copyright © 2019. All rights reserved.