Table 1 Confusion matrix.

From: Explainable artificial intelligence for stroke prediction through comparison of deep learning and machine learning models

Output

Prediction value

 

Death (+)

Living (-)

Real value

Death (+)

TP

FN

Living (−)

FP

TN

  1. True positive (TP): The number of deaths that the model has correctly identified.
  2. False positive (FP): The number of living people but the model has incorrectly identified them as dead.
  3. True negative (TN): The number of people who are living and the model correctly identified them as living.
  4. False negative (FN): The number of people who are dead but the model has identified them as living incorrectly.