/Python/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)
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)
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
- 2 votes116 views2 answers
- 75 votes113 views6 answers
- 1 vote118 views1 answer
- 5 votes126 views3 answers
- -1 vote108 views1 answer
- 6 votes120 views2 answers
- 0 vote110 views2 answers
- 0 vote152 views1 answer
- 0 vote151 views2 answers
- 0 vote161 views1 answer