| Positive (P) | Negative (N) |
---|
Predicted positive (PP) | True positive (TP) | False positive (FP, Type I error) |
Predicted negative (PN) | False negative (FN, Type II error) | True negative (TN) |
precision=PPTP=TP+FPTP
recall=PTP=TP+FNTP
accuracy=P+NTP+TN
specificity=NTN=FP+TNTP
threatScore=TP+FP+FNTP
Threat score structurally reminds Jaccard index
F1=2TP+FP+FN2TP
F1 score structurally reminds Li, Bo (normalisation)