Confusion Matrix


What is a confusion matrix? a confusion matrix is a graphic that shows you your models true and false positives and true and false negatives. It’s a graphical representation of how accurate a classifier is at predicting the labels for a categorical variable. We can plot this using the confusion matrix display and confusion matrix functions that we imported.

Below is another diagram of the same thing.

Confusion Matrix

Leave a Reply