under:
Quantifying classifier performance
predictions = classifier.predict(X)
cm = metrics.confusion_matrix(y, predictions, labels=classifier.classes_)
disp = metrics.ConfusionMatrixDisplay(confusion_matrix=cm,display_labels=classifier.classes_)
disp.plot()
plt.show()