# 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

F_{1} | F1 score (dimensionless) |

p | Precision (the number of correct results divided by the number of all returned results) (dimensionless) |

r | Recall ( the number of correct results divided by the number of results that should have been returned) (dimensionless) |