Open subho22 opened 3 years ago
I struggled with this for a while.. basically, it's only relevant in a binary classification problem.
If your labels are already binary, then make them numbers or True/False. Don't make them strings. This took me a while to figure out until I enabled warnings and verbose=1 and found that the ROC calculation was failing due to failure to convert the labels to floats.