Solved by ptrblck in post #4 
              
              
                I guess the inputs to roc_curve are wrong, so you would have to make sure they fit the expected arrays as described in the docs: 

y_true ndarray of shape (n_samples,) 
True binary labels. If labels are not either {-1, 1} or {0, 1}, then pos_label should be explicitly given. 


y_score ndarray of sh…