/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
- 7 votes189 views2 answers
- 1 vote189 views1 answer
- 79 votes188 views4 answers
- 4 votes188 views3 answers
- 1 vote253 views1 answer
- 0 vote214 views1 answer
- 0 vote193 views2 answers
- 1 vote250 views2 answers
- 0 vote189 views1 answer
- 5 votes184 views1 answer