public class ClassificationStatistics extends Object
Modifier and Type | Field and Description |
---|---|
double |
falseNegatives
number of false negatives
|
double |
falsePositives
number of false positives
|
double |
fScore
F-score, harmonic mean of precision and recall
|
double |
metricValue
value of the classification metric
|
double |
precision
precision: true positives / ( true positives + false positives )
|
double |
recall
recall (also called sensitivity of hit rate): true positives / ( true positives + false negatives )
|
double |
specificity
specificity, also called true negative rate (TNR): true negatives / (true negatives + false negatives)
|
double |
trueNegatives
number of true negatives
|
double |
truePositives
number of true positives
|
Constructor and Description |
---|
ClassificationStatistics(double truePositives,
double trueNegatives,
double falsePositives,
double falseNegatives,
double metricValue)
Create classification statistics
|
public double truePositives
public double trueNegatives
public double falsePositives
public double falseNegatives
public double metricValue
public double precision
public double recall
public double fScore
public double specificity
public ClassificationStatistics(double truePositives, double trueNegatives, double falsePositives, double falseNegatives, double metricValue)
truePositives
- number of true positivestrueNegatives
- number of true negativesfalsePositives
- number of false positivesfalseNegatives
- number of false negativesmetricValue
- value of the classification metricCopyright © 2015–2021 Fiji. All rights reserved.