import seaborn as sns from sklearn.metrics import confusion_matrix # y_test : actual labels or target # y_preds : predicted labels or target sns.heatmap(confusion_matrix(y_test, y_preds),annot=True);
autoplot(confusion)