Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5902a9e

Browse files
arjolyogrisel
authored andcommitted
FIX search and replace misstake
1 parent ef3da88 commit 5902a9e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sklearn/metrics/metrics.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -348,10 +348,10 @@ def auc_score(y_true, y_score):
348348
Examples
349349
--------
350350
>>> import numpy as np
351-
>>> from sklearn.metrics import roc_auc_score
351+
>>> from sklearn.metrics import auc_score
352352
>>> y_true = np.array([0, 0, 1, 1])
353353
>>> y_scores = np.array([0.1, 0.4, 0.35, 0.8])
354-
>>> roc_auc_score(y_true, y_scores)
354+
>>> auc_score(y_true, y_scores)
355355
0.75
356356
357357
"""

0 commit comments

Comments
 (0)