16

F1-score is the harmonic mean of precision and recall. The y-axis of recall is true positive rate (which is also recall). So, sometime classifiers can have low recall but very high AUC, what that means?

What are the differences between AUC and F1-score?

Marc Claesen
  • 18,401
RockTheStar
  • 12,907
  • 34
  • 71
  • 96

3 Answers3

20

F1 score is applicable for any particular point of the ROC curve. This point may represent for example a particular threshold value in a binary classifier and thus corresponds to a particular value of precision and recall.

Remember, F score is a smart way to represent both recall and precision. For F score to be high, both precision and recall should be high.

Thus, the ROC curve is for various different levels of thresholds and has many F score values for various points on its curve.

London guy
  • 1,466
  • 4
    Interesting aspect. But as far as I understand, F1 score is based on Recall and Precision, whereas AUC/ROC consists of Recall and Specificity. It seems that they are not the same thing. I agree with F score is a point, and ROC is a set of points with different threshold, but I dont think they are the same 'cause of different definition. Can you help me to make it clearer. Thanks – Catbuilts Oct 12 '18 at 06:42
9

AUC is of dimension [PRECISION]*[RECALL] and it is the area under ROC curve. F1 is for a fixed pair of precision and recall. So they are different. But there are some connections. See this: http://pages.cs.wisc.edu/~jdavis/davisgoadrichcamera2.pdf

Daniel
  • 1,576