Table 2.
Mathematical definition of our selected performance evaluation metrics.
| Metric name | Mathematical equation |
| Accuracy (ACC) | (TPa + TNb)/(TP + TN + FPc + FNd) |
| Average precision (AP) | TP/(TP + FP) |
| Average recall (AR) | TP/(TP + FN) |
| F1 score (F1) | 2×([AP × AR]/[AP + AR]) |
| Area under the curve (AUC) | 0.5 × (TP/[TP + FP] + TN/[TN + FP]) |
aTP: true positive.
bTN: true negative.
cFP: false positive.
dFN: false negative.