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)

0

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)

By Beginner Denise Braun at Jun 13 2020


Related code examples


Code examples by languages