'

F1 score

Description

In statistical analysis of binary classification, the F1 score (also F-score or F-measure) is a measure of a test’s accuracy. It considers both the precision and the recall of the test to compute the score. The F1 score can be interpreted as a weighted average of the precision and recall, where an F1 score reaches its best value at 1 and worst score at 0.

Related formulas

Variables

F1F1 score (dimensionless)
pPrecision (the number of correct results divided by the number of all returned results) (dimensionless)
rRecall ( the number of correct results divided by the number of results that should have been returned) (dimensionless)