public class NodeScoreDistribution extends EntityClassification<org.dmg.pmml.Node> implements HasProbability, HasConfidence
Classification.Type| Modifier | Constructor and Description |
|---|---|
protected |
NodeScoreDistribution(com.google.common.collect.BiMap<String,org.dmg.pmml.Node> entityRegistry,
org.dmg.pmml.Node node) |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getCategoryValues()
Gets the set of known categories.
|
Double |
getConfidence(String value)
Gets the confidence of the specified category.
|
Double |
getProbability(String value)
Gets the probability of the specified category.
|
protected com.google.common.base.Objects.ToStringHelper |
toStringHelper() |
getEntity, getEntityId, getEntityRegistryentryKeys, entryValues, getResult, getType, normalize, normalizeSoftMax, sum, toStringprotected NodeScoreDistribution(com.google.common.collect.BiMap<String,org.dmg.pmml.Node> entityRegistry, org.dmg.pmml.Node node)
public 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()public Double getConfidence(String value)
HasConfidencegetConfidence in interface HasConfidenceCategoricalResultFeature.getCategoryValues()protected com.google.common.base.Objects.ToStringHelper toStringHelper()
toStringHelper in class EntityClassification<org.dmg.pmml.Node>Copyright © 2015. All Rights Reserved.