TLDR: scikit\'s roc_curve function is only returning 3 points for a certain dataset. Why could this be, and how do we control how many points to get ba
roc_curve
I ran into same problem, and after reading the documentaion carefully I realized that the mistake is in:
probas_ = model.predict_log_proba(X)
Although, there were hints pointed by others by checking the uniqueness. It should be instead:
probas_ = model.decisions(X)