Package org.jpmml.evaluator
Interface HasConfidence
-
- All Superinterfaces:
CategoricalResultFeature<java.lang.Object>,ResultFeature
- All Known Implementing Classes:
ConfidenceDistribution,NodeScoreDistribution,SimpleRuleScoreDistribution
public interface HasConfidence extends CategoricalResultFeature<java.lang.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 java.lang.DoublegetConfidence(java.lang.Object category)Gets the confidence of the specified category.ReportgetConfidenceReport(java.lang.Object category)-
Methods inherited from interface org.jpmml.evaluator.CategoricalResultFeature
getCategories
-
-
-
-
Method Detail
-
getConfidence
java.lang.Double getConfidence(java.lang.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(java.lang.Object category)
- See Also:
CategoricalResultFeature.getCategories()
-
-