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
  • 17,399
  • 1
  • 49
  • 70
RockTheStar
  • 11,277
  • 31
  • 63
  • 89

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,246
  • 2
  • 18
  • 25
  • 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
8

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,366
  • 8
  • 13
2

The axes of an ROC curve are the true positive rate (recall, AKA sensitivity) and false positive rate (false alarm rate), not precision, AKA PPV, positive predictive value.

Carl
  • 11,532
  • 7
  • 45
  • 102
Ling Ma
  • 101
  • 1
  • 3