public class NodeScoreDistribution extends EntityClassification<org.dmg.pmml.tree.Node> implements HasProbability, HasConfidence
Classification.Type| Modifier | Constructor and Description |
|---|---|
protected |
NodeScoreDistribution(com.google.common.collect.BiMap<java.lang.String,org.dmg.pmml.tree.Node> entityRegistry,
org.dmg.pmml.tree.Node node) |
| Modifier and Type | Method and Description |
|---|---|
void |
computeResult(org.dmg.pmml.DataType dataType) |
java.util.Set<java.lang.String> |
getCategoryValues()
Gets the set of known categories.
|
java.lang.Double |
getConfidence(java.lang.String value)
Gets the confidence of the specified category.
|
java.lang.Double |
getProbability(java.lang.String value)
Gets the probability of the specified category.
|
protected boolean |
isEmpty() |
protected com.google.common.base.Objects.ToStringHelper |
toStringHelper() |
getEntity, getEntityId, getEntityRegistry, put, setEntitycreateOrdering, entryKeys, entrySet, entryValues, get, getResult, getType, getWinner, getWinner, getWinnerKeys, getWinnerList, getWinnerRanking, getWinnerValues, keySet, normalize, normalizeSoftMax, normalizeValues, put, setResult, sum, sumValues, toStringprotected NodeScoreDistribution(com.google.common.collect.BiMap<java.lang.String,org.dmg.pmml.tree.Node> entityRegistry,
org.dmg.pmml.tree.Node node)
protected boolean isEmpty()
isEmpty in class Classificationpublic void computeResult(org.dmg.pmml.DataType dataType)
computeResult in class Classificationpublic 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()public java.lang.Double getConfidence(java.lang.String value)
HasConfidenceGets the confidence of the specified category.
getConfidence in interface HasConfidenceCategoricalResultFeature.getCategoryValues()protected com.google.common.base.Objects.ToStringHelper toStringHelper()
toStringHelper in class EntityClassification<org.dmg.pmml.tree.Node>Copyright © 2017. All Rights Reserved.