Skip to main content
. 2022 Nov 15;24(11):1656. doi: 10.3390/e24111656

Table 1.

Metrics are used to evaluate the different classifiers and their corresponding equation. Where TP, FP, TN, and FN are True Positive, False Positive, True Negative, and False Positive, respectively. Po is the probability of Observed agreement, and Pc is the probability of chance agreement. MCC is the Matthews correlation coefficient.

Metric Equation
Precision TPTP+FP  
Recall TPTP+FN  
F1-score 2×(Precision×Recall)Precision+Recall  
MCC TP×TNFP×FN(TP+FP)(TP+FN)(TN+FP)(TN+FN)  
BA TP(TP+FN)/TN(TN+FP)/2