Define Confusion Matrix.
Generated by claude-sonnet-4-6 · 2026-06-21 03:18 · grounding rag
Model Answer
A confusion matrix is a table used to evaluate the performance of a classification model. It presents actual values on the y-axis and predicted values on the x-axis. Each cell contains the number of predictions falling into that category — True Positive (TP), True Negative (TN), False Positive (FP), and False Negative (FN).
Source: Chapter 3, Section 3.4 – Evaluation Metrics for Classification
---
Explanation
- Examiners expect the definition to mention: (1) it is a table/matrix, (2) actual vs. predicted values, and (3) the four cells (TP, TN, FP, FN).
- Avoid writing long descriptions of each cell — just name them for a 2-mark answer.
- The phrase "handy presentation of accuracy of a model with two or more classes" from the textbook is a good addition if space allows.