8000 DOC improve wording of the F1 score as a harmonic mean (#21390) · scikit-learn/scikit-learn@e34b64c · GitHub
[go: up one dir, main page]

Skip to content

Commit e34b64c

Browse files
DOC improve wording of the F1 score as a harmonic mean (#21390)
1 parent 99f2dde commit e34b64c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/metrics/_classification.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -991,7 +991,7 @@ def f1_score(
991991
):
992992
"""Compute the F1 score, also known as balanced F-score or F-measure.
993993
994-
The F1 score can be interpreted as a weighted average of the precision and
994+
The F1 score can be interpreted as a harmonic mean of the precision and
995995
recall, where an F1 score reaches its best value at 1 and worst score at 0.
996996
The relative contribution of precision and recall to the F1 score are
997997
equal. The formula for the F1 score is::

0 commit comments

Comments
 (0)
0