public class EntityProbabilityDistribution<E extends org.dmg.pmml.Entity> extends EntityClassification<E> implements HasProbability
Classification.Type| Constructor and Description |
|---|
EntityProbabilityDistribution(com.google.common.collect.BiMap<java.lang.String,E> entityRegistry) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<java.lang.String> |
getCategoryValues()
Gets the set of known categories.
|
java.lang.Double |
getProbability(java.lang.String value)
Gets the probability of the specified category.
|
getEntity, getEntityId, getEntityRegistry, put, setEntity, toStringHelpercomputeResult, createOrdering, entryKeys, entrySet, entryValues, get, getResult, getType, getWinner, getWinner, getWinnerKeys, getWinnerList, getWinnerRanking, getWinnerValues, isEmpty, keySet, normalize, normalizeSoftMax, normalizeValues, put, setResult, sum, sumValues, toStringpublic EntityProbabilityDistribution(com.google.common.collect.BiMap<java.lang.String,E> entityRegistry)
public java.util.Set<java.lang.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 java.lang.Double getProbability(java.lang.String value)
HasProbabilityGets the probability of the specified category.
getProbability in interface HasProbabilityCategoricalResultFeature.getCategoryValues()Copyright © 2017. All Rights Reserved.