From:  AI-driven discovery of antimicrobial peptides and derivatives: database and tools

 Definition of prediction model evaluation indicators [42].

NameDefinition description
SensitivityThe proportion of samples that are truly positive and are correctly predicted as positive by the model.
Sensitivity = TPTP + FN × 100
SpecificityAmong all the samples that are truly negative cases, the proportion of those that were correctly predicted as negative by the model.
Specificity = TNTN + FP × 100
AccuracyThe proportion of samples that were correctly predicted (whether positive or negative) in all the samples.
Accuracy = TP + TNTP + FP + TN + FN × 100
PrecisionThe proportion of samples that are truly positive among all those predicted as positive by the model.
Precision = TPTP + FP × 100
F-measureThe harmonic mean of precision and recall.
F-measure = 2TP2TP + FP + FN × 100
MCCA balanced metric used to measure the performance of binary classification, with its value ranging from –1 to +1. +1 indicates perfect prediction, 0 indicates random prediction, and –1 indicates completely incorrect prediction.
MCC = TP × TN - FP × FNTP + TN TP + FN TN + FP TN + FN × 100

FN: false negative; FP: false positive; MCC: Matthews correlation coefficient; TN: true negative; TP: true positive.