De Sklearn.Metrics Import Confusion_Matrix Pred = Model.predict (x_test) Pred = np.argmax (Pred, axe = 1) y_true = np.argmax (y_test, axe = 1)

from sklearn.metrics import confusion_matrix
pred = model.predict(X_test)
pred = np.argmax(pred,axis = 1) 
y_true = np.argmax(y_test,axis = 1)
Nervous Narwhal