Interface ProbabilisticClassificationMetric
- All Superinterfaces:
Serializable
An abstract interface to measure the probabilistic classification performance.
-
Method Summary
Modifier and TypeMethodDescriptiondoublescore(int[] truth, double[] probability) Returns a score to measure the quality of classification.
-
Method Details
-
score
double score(int[] truth, double[] probability) Returns a score to measure the quality of classification.- Parameters:
truth- the true class labels.probability- The posterior probability of positive class.- Returns:
- the metric.
-