Precision vs Recall
Both are computed from the confusion matrix at a given threshold:
Precision = TP / (TP + FP)
→ of all patients flagged malignant,
how many actually are?
Recall = TP / (TP + FN)
→ of all malignant patients,
how many did we flag?
Raising the threshold → higher Precision, lower Recall. Lowering it → vice versa.