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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy