The F1 score summarizes classification performance at a fixed threshold as the harmonic mean of precision and recall: F1 = 2PR/(P + R), where P = TP/(TP + FP) and R = TP/(TP + FN). section 5.2
A precision-recall plot shows the tradeoff as the classification threshold varies; the F1 score summarizes one selected threshold. section 5.2













