Package org.jpmml.evaluator
Interface HasConfidence
-
- All Superinterfaces:
CategoricalResultFeature<Object>,ResultFeature
- All Known Implementing Classes:
ConfidenceDistribution,NodeScoreDistribution,SimpleRuleScoreDistribution
public interface HasConfidence extends CategoricalResultFeature<Object>
A marker interface for classification results that provide a confidence distribution.
Confidences are similar to probabilities, but more relaxed. Most notably, the confidences are not required to sum to 1 across all categories, whereas the probabilities are.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DoublegetConfidence(Object category)Gets the confidence of the specified category.ReportgetConfidenceReport(Object category)-
Methods inherited from interface org.jpmml.evaluator.CategoricalResultFeature
getCategories
-
-
-
-
Method Detail
-
getConfidence
Double getConfidence(Object category)
Gets the confidence of the specified category.
- 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
Report getConfidenceReport(Object category)
- See Also:
CategoricalResultFeature.getCategories()
-
-