Skip to main content
. 2022 Nov 9;8:e1147. doi: 10.7717/peerj-cs.1147

Table 4. Evaluation metrics. TP, true positives; FP, false positives; FN, false negatives; TN, true negative.

Metric Formula
Precision TP/TP+FP
Recall TP/TP+FN
F1 2precisionrecall/precision+recall