GLOSSARY / GEOAI

F1 score

The harmonic mean of precision and recall: 2 × P × R / (P + R).

In more detail

F1 gives a single score that is high only when both precision and recall are high. It is more informative than overall accuracy when classes are imbalanced.

RELATED TERMS
  • Precision and recall

    Precision is the share of predicted positives that are correct; recall is the share of actual positives that were found.

  • Class imbalance

    When some classes have far more samples than others, such as 95% background and 5% buildings.

  • Confusion matrix (error matrix)

    A table comparing predicted classes with reference classes for a set of samples.