
Answer-first summary for fast verification
Answer: Binary classification confusion matrix
The confusion matrix is the correct visualization for evaluating precision in binary classification because it directly provides the true positives (TP) and false positives (FP) needed to calculate precision (Precision = TP / (TP + FP)). The community discussion strongly supports this with 100% consensus on option D, multiple upvoted comments explaining the reasoning, and references to official Microsoft documentation confirming that the confusion matrix contains the necessary components (TP, FN, FP, TN) for precision calculation. Other options are unsuitable: A (Violin plot) and C (Box plot) are for distribution visualization, not classification metrics, and B (Gradient descent) is an optimization algorithm, not an evaluation visualization.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You are evaluating a completed binary classification machine learning model and need to use precision as the evaluation metric. Which visualization should you use?
A
Violin plot
B
Gradient descent
C
Box plot
D
Binary classification confusion matrix
No comments yet.