public interface HasProbability extends CategoricalResultFeature
A marker interface for probabilistic classification results.
Probability represents a degree of certainty that the sample belongs to a particular category. Probabilities are required to sum to 1 across all categories. Ideally, the probability of the predicted category should approach 1.0, and the probabilities of all other categories should approach 0.0.
Classification is a supervised learning task.
The set of all categories is defined by the valid values of the target field.
The set of known categories may be smaller than the set of all categories.
It is assumed that the probability of missing categories is 0.0.
ResultFeatureType.PROBABILITY| Modifier and Type | Method and Description |
|---|---|
Double |
getProbability(String value)
Gets the probability of the specified category.
|
getCategoryValuesDouble getProbability(String value)
CategoricalResultFeature.getCategoryValues()Copyright © 2015. All Rights Reserved.