Question 470
A team evaluates an ML classifier and records TP=72, FP=18, FN=8, and TN=102. Using the positive class as defined in this confusion matrix, what is the precision expressed as a percentage (one decimal place)?
Explanation
Correct Answer
Correct. Precision uses TP / (TP + FP); with TP=72, FP=18, FN=8, TN=102, the result is 80.0%.
Incorrect Answers
84.7% is the f1 for these counts, calculated as 2 × TP / (2 × TP + FP + FN); the question asks for precision, which uses TP / (TP + FP) for TP=72, FP=18, FN=8, TN=102.
90.0% is the recall for these counts, calculated as TP / (TP + FN); the question asks for precision, which uses TP / (TP + FP) for TP=72, FP=18, FN=8, TN=102.
87.0% is the accuracy for these counts, calculated as (TP + TN) / (TP + FP + FN + TN); the question asks for precision, which uses TP / (TP + FP) for TP=72, FP=18, FN=8, TN=102.