/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
- 0 vote168 views1 answer
- 1 vote171 views1 answer
- 0 vote170 views2 answers
- 134 votes170 views6 answers
- 1 vote161 views1 answer
- 1 vote205 views1 answer
- 0 vote161 views1 answer
- 1 vote151 views1 answer
- -1 vote174 views1 answer
- 2 votes167 views1 answer