/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 vote98 views1 answer
- 5 votes101 views2 answers
- 0 vote94 views1 answer
- 61 votes113 views6 answers
- 5 votes109 views1 answer
- 0 vote105 views3 answers
- 0 vote109 views1 answer
- 1 vote120 views1 answer
- 34 votes149 views6 answers
- 0 vote133 views1 answer