Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

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)

Nervous Narwhal answered on June 14, 2020 Popularity 3/10 Helpfulness 2/10

Contents


More Related Answers

  • import sklearn.metrics from plot_confusion_matrix

  • 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
    Popularity 3/10 Helpfulness 2/10 Language python
    Source: Grepper
    Tags: import python
    Link to this answer
    Share Copy Link
    Contributed on Jun 14 2020
    Nervous Narwhal
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.