Skip to main content

Table 2 Metrics evaluated on test set

From: Lethality risk markers by sex and age-group for COVID-19 in Mexico: a cross-sectional study based on machine learning approach

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

  1. TP true positive, FN false negative, TP true negative, FP false positive