public class ProbabilityDistribution extends Classification implements HasProbability
Classification.Type| Modifier | Constructor and Description |
|---|---|
protected |
ProbabilityDistribution() |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getCategoryValues()
Gets the set of known categories.
|
Double |
getProbability(String value)
Gets the probability of the specified category.
|
entryKeys, entryValues, getResult, getType, normalize, normalizeSoftMax, sum, toString, toStringHelperpublic Set<String> getCategoryValues()
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.getCategoryValues in interface CategoricalResultFeaturepublic Double getProbability(String value)
HasProbabilitygetProbability in interface HasProbabilityCategoricalResultFeature.getCategoryValues()Copyright © 2015. All Rights Reserved.