Reputation: 51
I know that the ROC-Curve is calculated from the True-Positive-Rate and the False-Positive-Rate.
But the ROC-Curve has infinite Elements on it's Curve, right? How is each Element calculated? Can someone explain this to me? Where is each point coming from?
Thanks in Advance
Upvotes: 0
Views: 62
Reputation: 1827
The values are calculated for all values of the threshold of the classifier.
On the x axis, you have the "false positive rate" for the given threshold: FPR = FP / (TN + FP) where:
On the y axis, you have the "true positive rate" for the given threshold: TPR = TP / (TP + FN) where:
You have not an infinite number of points in practice: you are limited to the number of points of the dataset (the rate dont change for some ranges of threshold).
Upvotes: 1