6.7.6 ROC Curve
A Receiver Operating Characteristic curve, abbreviated as ROC, is a graphical representation that illustrates the performance of a classification model across all possible classification thresholds. The ROC curve is generated by plotting the True Positive Rate (TPR) against the False Positive Rate (FPR) at different threshold settings (discussed in section 6.2).
The True Positive Rate (TPR), also known as recall, is defined as follows:
False Positive Rate (FPR) is defined as follows:
A ROC space (as shown in Fig 6.14) is defined by the False Positive Rate (FPR) on the x-axis and the True Positive Rate (TPR) on the y-axis. This graphical representation illustrates the trade-offs between true positives (benefits) and false positives (costs) in a classification model. Each prediction result or instance in a confusion matrix corresponds to a specific point within the ROC space.