Predict_proba IndexError

后端 未结 0 793
旧时难觅i
旧时难觅i 2020-12-30 20:33

I\'m using predict_proba()

y_pred = clf.predict_proba(X_test)[:,1]

and I get this error:

IndexError: index 1 is o         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题