Skip to main content
Advertisement

< Back to Article

Using genomic data and machine learning to predict antibiotic resistance: A tutorial paper

Fig 6

Example of how confusion matrix results are used to calculate evaluation metrics.

(A) Determination of true positive (TP), true negative (TN), false positive (FP), and false negative (FN) labels can be seen for toy examples. (B) A confusion matrix based on the toy model from (A) showing total numbers of TP, TN, FP, and FN. (C) Numbers from the confusion matrix are used to calculate various evaluation metrics.

Fig 6

doi: https://doi.org/10.1371/journal.pcbi.1012579.g006