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

Skip to content

Commit 667973e

Browse files
scalyvladimirglemaitre
authored andcommitted
DOC improve wording of the F1 score as a harmonic mean (#21390)
1 parent bda5343 commit 667973e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/metrics/_classification.py

Lines changed: 1 addition & 1 deletion
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