public class ClusterAffinityDistribution extends EntityClassification<org.dmg.pmml.clustering.Cluster> implements HasEntityIdRanking, HasDisplayValue, HasAffinityRanking, HasEntityAffinity
Classification.Type| Modifier and Type | Method and Description |
|---|---|
java.lang.Double |
getAffinity(java.lang.String value)
Gets the affinity towards the specified category.
|
java.util.List<java.lang.Double> |
getAffinityRanking()
Gets the affinities for known categories.
|
java.util.Set<java.lang.String> |
getCategoryValues()
Gets the set of known categories.
|
java.lang.String |
getDisplayValue() |
java.lang.Double |
getEntityAffinity()
Gets the affinity towards the winning entity.
|
java.util.List<java.lang.String> |
getEntityIdRanking() |
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, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetEntityIdpublic 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.util.List<java.lang.String> getEntityIdRanking()
getEntityIdRanking in interface HasEntityIdRankingpublic java.lang.String getDisplayValue()
getDisplayValue in interface HasDisplayValuepublic java.lang.Double getAffinity(java.lang.String value)
HasAffinityGets the affinity towards the specified category.
getAffinity in interface HasAffinityDouble.POSITIVE_INFINITY for distance measures and 0.0 for similarity measures).CategoricalResultFeature.getCategoryValues()public java.util.List<java.lang.Double> getAffinityRanking()
HasAffinityRankingGets the affinities for known categories.
Affinities are ordered from the most optimal one to the least optimal one.
getAffinityRanking in interface HasAffinityRankingpublic java.lang.Double getEntityAffinity()
HasEntityAffinityGets the affinity towards the winning entity.
getEntityAffinity in interface HasEntityAffinityCopyright © 2017. All Rights Reserved.