8000 DOC Update classification.py (#9478) · dmohns/scikit-learn@f8d2ac3 · GitHub
[go: up one dir, main page]

10000
Skip to content

Commit f8d2ac3

Browse files
skrish13dmohns
authored andcommitted
DOC Update classification.py (scikit-learn#9478)
fixes doc formatting.
1 parent 526e498 commit f8d2ac3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sklearn/metrics/classification.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ def accuracy_score(y_true, y_pred, normalize=True, sample_weight=None):
167167
2
168168
169169
In the multilabel case with binary label indicators:
170+
170171
>>> accuracy_score(np.array([[0, 1], [1, 1]]), np.ones((2, 2)))
171172
0.5
172173
"""

0 commit comments

Comments
 (0)
0