Confusion matrices visualize the accuracy of a classification by comparing the true and predicted classes.

# True Positive# True Negative
# Predicted PositiveTrue PositiveFalse Positive
# Predicted NegativeFalse NegativeTrue Negative

Offdiagonal squares a incorrect predictions