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

Skip to content

Commit 034b0d1

Browse files
committed
DOC Fix broken ref (#30407)
1 parent 384aeba commit 034b0d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sklearn/ensemble/_hist_gradient_boosting/gradient_boosting.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1579,7 +1579,7 @@ class HistGradientBoostingRegressor(RegressorMixin, BaseHistGradientBoosting):
15791579
scoring : str or callable or None, default='loss'
15801580
Scoring parameter to use for early stopping. It can be a single
15811581
string (see :ref:`scoring_parameter`) or a callable (see
1582-
:ref:`scoring`). If None, the estimator's default scorer is used. If
1582+
:ref:`scoring_callable`). If None, the estimator's default scorer is used. If
15831583
``scoring='loss'``, early stopping is checked w.r.t the loss value.
15841584
Only used if early stopping is performed.
15851585
validation_fraction : int or float or None, default=0.1
@@ -1961,7 +1961,7 @@ class HistGradientBoostingClassifier(ClassifierMixin, BaseHistGradientBoosting):
19611961
scoring : str or callable or None, default='loss'
19621962
Scoring parameter to use for early stopping. It can be a single
19631963
string (see :ref:`scoring_parameter`) or a callable (see
1964-
:ref:`scoring`). If None, the estimator's default scorer
1964+
:ref:`scoring_callable`). If None, the estimator's default scorer
19651965
is used. If ``scoring='loss'``, early stopping is checked
19661966
w.r.t the loss value. Only used if early stopping is performed.
19671967
validation_fraction : int or float or None, default=0.1

0 commit comments

Comments
 (0)