Metrics | Formula | Description |
---|---|---|
Sensitivity (recall) | \(\frac{TP}{ TP + FN}\) | Measures the proportion of diseased patients with a positive test result |
Specificity | \(\frac{TN}{ TN + FP}\) | Measures the proportion of patients without disease with a negative test result |
Positive Predictive Value (PPV) | \(\frac{TP}{TP + FP}\) | Measures the ability of the classifier not to label as positive a sample that is negative |
Negative Predictive Value (NPV) | \(\frac{TN}{TN + FN}\) | Measures the ability of the classifier not to label as negative a sample that is positive |
F1-score | \(2 *\frac{Recall * Precision}{Recall + Precision}\) | It is the harmonic mean of Precision and Recall |
Accuracy | \(\frac{TP+ TN}{TP+FP+FN+TN}\) | Is the percentage of patients classified correctly with respect to the total of cases examined |