
Answer-first summary for fast verification
Answer: Receiver Operating Characteristic (ROC) curve
The question asks for a visualization that can be used when precision is the evaluation metric for a binary classification model. The ROC curve (Option D) plots the true positive rate (sensitivity/recall) against the false positive rate, which does not directly visualize precision. Precision is defined as TP/(TP+FP) and is better visualized using a Precision-Recall (PR) curve, which plots precision against recall. However, among the given options, none directly visualize precision. The community discussion (with 100% consensus on D and upvoted comments) indicates that while D is not ideal, it is the best available choice, as the ROC curve can indirectly relate to precision through threshold selection, whereas the other options (violin plot for distribution, gradient descent for optimization, scatter plot for relationship between two variables) are completely unrelated to classification metrics.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.