What is AUC (Area Under the Curve)?

AUC is a statistical measure used with the ROC curve to measure a classification model’s ability to distinguish between classes. It is the numerical value of the area under the ROC curve and ranges from 0 to 1:
• AUC = 1: the model is perfect and separates the classes completely.
• AUC = 0.5: the model is random and does not distinguish between the classes.
• AUC < 0.5: the model performs poorly (worse than random). The higher the AUC, the better the model is at telling the positive class from the negative class across different thresholds.