AUC - ROC curve is a performance measurement for classification problem at various thresholds settings. ROC is a probability curve and AUC represents degree or measure of separability.
Is Roc the same as AUC?
Related concepts, but not the same.
ROC-receiver operating curve
AUC area under the curve
Thank this post for explanation :
AUC is used most of the time to mean AUROC, which is a bad practice since as Marc Claesen pointed out AUC is ambiguous (could be any curve) while AUROC is not.
The AUROC has several equivalent interpretations:
Going further: How to derive the probabilistic interpretation of the AUROC?
Assume we have a probabilistic, binary classifier such as logistic regression.
Before presenting the ROC curve (= Receiver Operating Characteristic curve), the concept of confusion matrix must be understood. When we make a binary prediction, there can be 4 types of outcomes:
To get the confusion matrix, we go over all the predictions made by the model, and count how many times each of those 4 types of outcomes occur:
In this example of a confusion matrix, among the 50 data points that are classified, 45 are correctly classified and the 5 are misclassified.
Since to compare two different models it is often more convenient to have a single metric rather than several ones, we compute two metrics from the confusion matrix, which we will later combine into one:
To combine the FPR and the TPR into one single metric, we first compute the two former metrics with many different threshold (for example $0.00; 0.01, 0.02, \dots, 1.00$) for the logistic regression, then plot them on a single graph, with the FPR values on the abscissa and the TPR values on the ordinate. The resulting curve is called ROC curve, and the metric we consider is the AUC of this curve, which we call AUROC.
The following figure shows the AUROC graphically:
In this figure, the blue area corresponds to the Area Under the curve of the Receiver Operating Characteristic (AUROC). The dashed line in the diagonal we present the ROC curve of a random predictor: it has an AUROC of 0.5. The random predictor is commonly used as a baseline to see whether the model is useful.
If you want to get some first-hand experience:
No AUC and ROC are two different things.
AUC stands for 'Area under Curve'. ROC stands for 'Receiver Operating Characteristic curve'.
ROC is a metric which gives a single value for quantifying the performance of a classification model, given a threshold. E.g., you may choose 0.5 as a threshold for a cat vs dog classifier. If the threshold is not known then we plot a graph with threshold on the x-axis and the ROC metric on the y-axis.
The area under such a curve (AUC) is what is known as AUROC! AUC is not limited to just ROC. It can also be used with other metrics like precision-recall curves.
From this post:
This is an animation about the construction of the ROC Curve and so the AUC. One sees clearly that each point of the ROC Curve comes from a different threshold used to classify the output of a binary classifier. The threshold defines which samples are predicted as 1 and which ones as 0. True Positive and False Positive rates are then computed. At every threshold corresponds a point on the ROC Curve.
Note: The animation might be more relevant for people working on time-series, but could also help to understand the AUC construction in other cases as a Sample
, the input of the binary classifier, could be anything (image, time-serie window, input features,...)