Skip to content

Commit bd5d5f6

Browse files
DOC Fix broken formatting of cohen_kappa_score docstring (scikit-learn#31732)
1 parent 0872e9a commit bd5d5f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sklearn/metrics/_classification.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -831,8 +831,8 @@ class labels [2]_.
831831
List of labels to index the matrix. This may be used to select a
832832
subset of labels. If `None`, all labels that appear at least once in
833833
``y1`` or ``y2`` are used. Note that at least one label in `labels` must be
834-
present in `y1`, even though this function is otherwise agnostic to the order
835-
of `y1` and `y2`.
834+
present in `y1`, even though this function is otherwise agnostic to the order
835+
of `y1` and `y2`.
836836
837837
weights : {'linear', 'quadratic'}, default=None
838838
Weighting type to calculate the score. `None` means not weighted;

0 commit comments

Comments
 (0)