Solved – ROC curve with multiple points

roc

In a typical ROC curve all I do is a line from (0, 0) to (tpr, fpr) and a line from (tpr, fpr) to (1, 1). Now I see ROC curves with more than one points. Can someone explain what these extra points represent?

Best Answer

That pair TPR, FPR you put in your curve was obtained using a threshold in the continuous output (most likely probabilities).

Other points are obtained by simply changing said threshold.


A clarification: Sampling many points in the ROC curve is the norm, I don't remember ever seeing a ROC with such few samples. You can select different strategies to sample your TPR and FPR, but sampling enough points is essential, otherwise you wouldn't need the ROC at all.