Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit db20158

Browse filesBrowse files
agamemnoncglemaitre
authored andcommitted
DOC Balanced accuracy score adjusted doc fix (#19309)
1 parent 8f2e39e commit db20158
Copy full SHA for db20158

File tree

1 file changed

+2
-1
lines changed
Filter options

1 file changed

+2
-1
lines changed

‎sklearn/metrics/_classification.py

Copy file name to clipboardExpand all lines: sklearn/metrics/_classification.py
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1809,7 +1809,8 @@ def balanced_accuracy_score(y_true, y_pred, *, sample_weight=None,
18091809
18101810
adjusted : bool, default=False
18111811
When true, the result is adjusted for chance, so that random
1812-
performance would score 0, and perfect performance scores 1.
1812+
performance would score 0, while keeping perfect performance at a score
1813+
of 1.
18131814
18141815
Returns
18151816
-------

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.