@Beta public class ProbabilityClassificationMap extends ClassificationMap<String> implements HasProbability
ClassificationMap.TypeAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
ProbabilityClassificationMap() |
| 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.
|
getResult, getType, normalize, normalizeSoftMax, sum, toString, toStringHelperclear, containsValue, get, removeEldestEntryclone, containsKey, entrySet, isEmpty, keySet, put, putAll, remove, size, valuesequals, hashCodepublic Set<String> getCategoryValues()
CategoricalResultFeaturegetCategoryValues in interface CategoricalResultFeaturepublic Double getProbability(String value)
HasProbabilitygetProbability in interface HasProbabilityCategoricalResultFeature.getCategoryValues()Copyright © 2015. All Rights Reserved.