Table 3

Evaluation metrics

MetricDescriptionEquation
Accuracy (AC)The proportion of correctly classified observationsTP+TNTP+TN+FP+FN
Precision (P)The ratio of observations correctly classified as positive to all observations classified as positiveTPTP+FP
Recall (R)The ratio of observations correctly classified as positive to all actual positive observationsTPTP+FN
F1 score (F1)It is the harmonic mean (average) of precision and recall2 P RP+R

Source(s): Authors’ own work

or Create an Account

Close subscription notice
Close access options