public interface BinaryConfusionMatrix extends ConfusionMatrix<java.lang.Boolean>
ConfusionMatrix over Boolean objects. It treats true as the positive
category and false as the negative category.| Modifier and Type | Method and Description |
|---|---|
double |
getFalseNegativesCount()
Gets the number of false negatives.
|
double |
getFalseNegativesFraction()
Gets the fraction of false negatives.
|
double |
getFalsePositivesCount()
Gets the number of false positives.
|
double |
getFalsePositivesFraction()
Gets the fraction of false positives.
|
double |
getFScore()
The F-score of the confusion matrix, which is also known as the
F1-score or F-measure.
|
double |
getFScore(double beta)
The F-score for the confusion matrix with the given trade-off parameter
(beta).
|
double |
getPrecision()
The precision value for the confusion matrix.
|
double |
getRecall()
The recall value for the confusion matrix.
|
double |
getSensitivity()
The sensitivity value for the confusion matrix.
|
double |
getSpecificity()
The specificity value for the confusion matrix.
|
double |
getTrueNegativesCount()
Gets the number of true negatives.
|
double |
getTrueNegativesFraction()
Gets the fraction of true negatives.
|
double |
getTruePositivesCount()
Gets the number of true positives.
|
double |
getTruePositivesFraction()
Gets the fraction of true positives.
|
add, add, addAll, clear, getAccuracy, getActualCategories, getActualCount, getAverageCategoryAccuracy, getAverageCategoryErrorRate, getCategories, getCategoryAccuracy, getCategoryErrorRate, getCount, getErrorRate, getPredictedCategories, getPredictedCategories, getPredictedCount, getTotalCorrectCount, getTotalCount, getTotalIncorrectCount, isEmptyclonedouble getTruePositivesCount()
double getFalsePositivesCount()
double getTrueNegativesCount()
double getFalseNegativesCount()
double getTruePositivesFraction()
double getFalsePositivesFraction()
double getTrueNegativesFraction()
double getFalseNegativesFraction()
double getSensitivity()
double getSpecificity()
double getPrecision()
double getRecall()
double getFScore()
double getFScore(double beta)
beta - The beta value of the score. It is the importance assigned to
precision as compared to recall.