What is a confusion matrix?

Prepare for the PMI Cognitive Project Management for AI Exam! Practice with flashcards and multiple choice questions, with detailed explanations. Boost your confidence and excel in your test!

Multiple Choice

What is a confusion matrix?

Explanation:
A confusion matrix is a table that shows how a classification model’s predictions compare to the true labels on a labeled dataset. It records actual classes versus predicted classes, with counts in each cell. In a binary case, it’s a 2x2 grid containing true positives, true negatives, false positives, and false negatives, which lets you see not just overall accuracy but exactly what kinds of mistakes the model makes. In multiclass problems, it expands to a k by k matrix that reveals which classes are being confused with which others. This requires known actual values to evaluate the predictions, so you can compute metrics like accuracy, precision, recall, and F1, and diagnose where the model’s performance is weak. The other options describe different tools (a ROC curve, a list of hyperparameters, or a training loss chart) that don’t capture the detailed correspondence between predicted and actual labels.

A confusion matrix is a table that shows how a classification model’s predictions compare to the true labels on a labeled dataset. It records actual classes versus predicted classes, with counts in each cell. In a binary case, it’s a 2x2 grid containing true positives, true negatives, false positives, and false negatives, which lets you see not just overall accuracy but exactly what kinds of mistakes the model makes. In multiclass problems, it expands to a k by k matrix that reveals which classes are being confused with which others. This requires known actual values to evaluate the predictions, so you can compute metrics like accuracy, precision, recall, and F1, and diagnose where the model’s performance is weak. The other options describe different tools (a ROC curve, a list of hyperparameters, or a training loss chart) that don’t capture the detailed correspondence between predicted and actual labels.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy