In a binary classifier's confusion matrix, precision is calculated as:
Correct answer
B. TP / (TP + FP)
14 views
B. TP / (TP + FP)
14 views
Precision asks: of all cases the model predicted as positive, how many were truly positive? Hence TP / (TP + FP). TP / (TP + FN) is recall (sensitivity), TN / (TN + FP) is specificity, and (TP + TN) / Total is accuracy. Precision matters most when false positives are costly, such as spam filters flagging genuine email.
Asked in: GATE DA, Data Science Interviews
Not sure why the answer is B? Ask here and get an explanation.