Table 6. Performance metrics.
| Metric | Definition | Equation |
|---|---|---|
| Accuracy | The ratio of correctly predicted observation to the total observations | (True Positives (TP) + True Negatives (TN))/(Positives+ Negatives) |
| Recall (sensitivity) | The ratio of correctly predicted positive observations to the all observations in actual class | TP/(TP + False Negatives (FN)) |
| Precision | The ratio of correctly predicted positive observations to the total predicted positive observations | TP/(TP+ False Positive (FP)) |
| f-measure | The weighted average of Precision and Recall | 2 × (Recall × Precision)/(Recall + Precision) |
| False Positive Rate (FPR) | The proportion of samples that test positive which are genuinely negative | FP/(FP+TN) |
| False Negative Rate (FNR) | The proportion of samples that test negative which are genuinely positive | FP/(FP+TN) |