
Answer-first summary for fast verification
Answer: Model A, because it has a higher accuracy.
The accuracy of a classification model is defined as the ratio of the number of correct predictions (true positives and true negatives) to the total number of predictions. In this case, Model A has an accuracy of (85+20) / (85+5+15+20) = 0.8333, while Model B has an accuracy of (80+30) / (80+10+10+30) = 0.75. Therefore, Model A is more accurate than Model B, as it has a higher ratio of correct predictions to total predictions.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
In a classification problem, you are comparing the performance of two models using the confusion matrix. Model A has a confusion matrix of [[85, 5], [15, 20]], while Model B has a confusion matrix of [[80, 10], [10, 30]]. Which model would you consider to be more accurate, and why?
A
Model A, because it has a higher number of true positives.
B
Model B, because it has a higher number of true positives and true negatives.
C
Model A, because it has a higher accuracy.
D
Model B, because it has a higher accuracy.
No comments yet.