This metric aims to summarise the trade-off between Precision and Recall through their harmonic mean: F1 = 2 P R / (P + R), with F1 = 0 by convention when P + R = 0.