Skip to content

Commit b64e992

Browse files
committed
Merge pull request scikit-learn#6542 from ohld/make_scorer-link
'[MRG]' issue scikit-learn#6535
2 parents c2eaf75 + 4eca0c9 commit b64e992

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

sklearn/cross_validation.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1438,6 +1438,12 @@ def cross_val_score(estimator, X, y=None, scoring=None, cv=None, n_jobs=1,
14381438
-------
14391439
scores : array of float, shape=(len(list(cv)),)
14401440
Array of scores of the estimator for each run of the cross validation.
1441+
1442+
See Also
1443+
---------
1444+
:func:`sklearn.metrics.make_scorer`:
1445+
Make a scorer from a performance metric or loss function.
1446+
14411447
"""
14421448
X, y = indexable(X, y)
14431449

sklearn/model_selection/_validation.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,12 @@ def cross_val_score(estimator, X, y=None, labels=None, scoring=None, cv=None,
135135
-------
136136
scores : array of float, shape=(len(list(cv)),)
137137
Array of scores of the estimator for each run of the cross validation.
138+
139+
See Also
140+
---------
141+
:func:`sklearn.metrics.make_scorer`:
142+
Make a scorer from a performance metric or loss function.
143+
138144
"""
139145
X, y, labels = indexable(X, y, labels)
140146

0 commit comments

Comments
 (0)