Package org.jpmml.evaluator.rule_set
Class SimpleRuleScoreDistribution<V extends Number>
- java.lang.Object
-
- org.jpmml.evaluator.AbstractComputable
-
- org.jpmml.evaluator.Classification<K,V>
-
- org.jpmml.evaluator.EntityClassification<org.dmg.pmml.rule_set.SimpleRule,Object,V>
-
- org.jpmml.evaluator.rule_set.SimpleRuleScoreDistribution<V>
-
- All Implemented Interfaces:
CategoricalResultFeature<Object>,Computable,HasConfidence,HasEntityId,HasEntityRegistry<org.dmg.pmml.rule_set.SimpleRule>,HasPrediction,ResultFeature
public abstract class SimpleRuleScoreDistribution<V extends Number> extends EntityClassification<org.dmg.pmml.rule_set.SimpleRule,Object,V> implements HasConfidence
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jpmml.evaluator.Classification
Classification.Type
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<Object>getCategories()Gets the set of known categories.DoublegetConfidence(Object category)Gets the confidence of the specified category.ReportgetConfidenceReport(Object category)-
Methods inherited from class org.jpmml.evaluator.EntityClassification
getEntity, getEntityId, put
-
Methods inherited from class org.jpmml.evaluator.Classification
entryKeys, entryValues, getPrediction, getPredictionReport, getResult, getType, getValue, getValueReport, getValues, getWinner, getWinnerList, put
-
Methods inherited from class org.jpmml.evaluator.AbstractComputable
toString
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.jpmml.evaluator.HasEntityRegistry
getEntityRegistry
-
-
-
-
Method Detail
-
getCategories
public Set<Object> getCategories()
Description copied from interface: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.
- Specified by:
getCategoriesin interfaceCategoricalResultFeature<V extends Number>
-
getConfidence
public Double getConfidence(Object category)
Description copied from interface:HasConfidenceGets the confidence of the specified category.
- Specified by:
getConfidencein interfaceHasConfidence- Returns:
- A confidence that normally lies in the range from 0.0 to 1.0. The confidence of an unknown category is 0.0.
- See Also:
CategoricalResultFeature.getCategories()
-
getConfidenceReport
public Report getConfidenceReport(Object category)
- Specified by:
getConfidenceReportin interfaceHasConfidence- See Also:
CategoricalResultFeature.getCategories()
-
-