+ 2

binary disorder in DS course

binary disorder https://code.sololearn.com/cGWrwuVfSaLg/?ref=app what`s wrong in my code?

9th Aug 2021, 11:57 AM
Kosarevsky Dmitry
Kosarevsky Dmitry - avatar
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)
9th Aug 2021, 12:52 PM
Paul K Sadler
Paul K Sadler - avatar
0
Probably you should diversify your sources. The Web is a treasure of inspiration.
9th Aug 2021, 12:17 PM
Rautnich Sassi Federico
Rautnich Sassi Federico - avatar