Skip to main content

Table 1 Confusion matrix

From: Comparing machine learning algorithms for predicting COVID-19 mortality

Output

Predicted values

Death (+)

Survive (−)

Actual value

  

 Death (+)

TP

FN

 Survive (−)

FP

TN

  1. True Positive = the number of cases that are truly classified as positive by the algorithm
  2. False Positive = the number of cases that are falsely classified as positive by the algorithm
  3. False Negative = the number of cases that are falsely classified as negative by the algorithm
  4. True Negative = the number of cases that are truly classified as negative by the algorithm