/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
- 1 vote173 views1 answer
- 0 vote160 views1 answer
- 1 vote187 views5 answers
- -1 vote158 views1 answer
- 2 votes158 views1 answer
- 0 vote178 views2 answers
- 4 votes197 views2 answers
- 0 vote146 views1 answer
- 0 vote162 views1 answer
- 18 votes151 views4 answers