From: A comprehensive study of small non-frameshift insertions/deletions in proteins and prediction of their phenotypic effects by a machine learning method (KD4i)
Real
Positive
Negative
Prediction
Tp
Fp
Precision Tp Tp + Fp
Fn
Tn
NPV Tn Tn + Fn
Sensitivity Tp Tp + Fn
Specificity Tn Tn + Fp
MCC Tp * Tn − Fp * Fn Tp + Fp Tp + Fn Tn + Fp Tp + Fn
Accuracy: Tp + Tn Tp + Tn + Fp + Fn