+ 2
binary disorder in DS course
binary disorder https://code.sololearn.com/cGWrwuVfSaLg/?ref=app what`s wrong in my code?
2 Answers
+ 3
Kosarevsky Dmitry Use labels=
also think about the order of y_pred and y_true
print(confusion_matrix(y_pred,y_true, labels=[1,0])/1)
0
Probably you should diversify your sources. The Web is a treasure of inspiration.