public class VoteDistribution<V extends Number> extends Classification<V> implements HasProbability
Classification.Type| Modifier and Type | Method and Description |
|---|---|
protected void |
computeResult(org.dmg.pmml.DataType dataType) |
Set<String> |
getCategories()
Gets the set of known categories.
|
Double |
getProbability(String category)
Gets the probability of the specified category.
|
Report |
getProbabilityReport(String category) |
createOrdering, entryKeys, entrySet, entryValues, getPrediction, getPredictionReport, getResult, getType, getValue, getValueReport, getValues, getWinner, getWinner, getWinnerKeys, getWinnerList, getWinnerRanking, getWinnerValues, keySet, put, setResult, toStringHelpertoStringprotected void computeResult(org.dmg.pmml.DataType dataType)
computeResult in class Classification<V extends Number>public Set<String> getCategories()
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.
getCategories in interface CategoricalResultFeaturepublic Double getProbability(String category)
HasProbabilityGets the probability of the specified category.
getProbability in interface HasProbabilityCategoricalResultFeature.getCategories()public Report getProbabilityReport(String category)
getProbabilityReport in interface HasProbabilityCategoricalResultFeature.getCategories()Copyright © 2018. All rights reserved.