Suraj Gurav Updated on September 22, 2025
A confusion matrix is a table used to evaluate the performance of a classification model by comparing the predicted labels with the actual labels, showing true positives, true negatives, false positives and false negatives.