4

I found the ROC explanation at this link. It states that the ROC curve is TP vs FP.

After the score has gone below 0.5, all predictions are negative. That makes them either TN or FN. Thus, how does it make sense to continue drawing as the axes are stated as TP and FP? I am really confused.

CaTx
  • 193
  • 1
  • 6
  • I think this is a situation where you're probably going to get better explanations for why your understanding is wrong the better you explain what your understanding is. – Acccumulation Aug 12 '21 at 03:42
  • I found this very well explained [video](https://www.youtube.com/watch?v=4jRBRDbJemM). I suppose I got it wrong because of the lack of background theory? – CaTx Aug 12 '21 at 06:12

2 Answers2

4

you vary the threshold which is used to determine positives and negatives, ie at threshold 0.5 we get a point (TP, FP) which we plot, then at threshold 0.45 we get another point (TP, FP) which we plot, etc. These points make the ROC curve

bdeonovic
  • 8,507
  • 1
  • 24
  • 49
3

The ROC curve shows the TPR and FPR as you change the threshold. Your question posits that a classifier only has one TPR statistic and one FPR statistic, and that both of these statistics correspond to a threshold at 0.5. This is a common misconception; there is no reason that the threshold must be 0.5. For each choice of threshold, there is a corresponding TPR and FPR statistic. The purpose of the ROC curve is to show the trade-off for each choice of threshold: as your TPR increases, so does your FPR, and vice-versa.

Sycorax
  • 76,417
  • 20
  • 189
  • 313