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
I had the same problem with a different example. The mistake I made was to input the outcomes for a given threshold and not the probabilities in the argument y_score of roc_curve. It also gives a plot with three points but it is a mistake !