Skip to content

Commit

Permalink
DOC Fix broken ref (scikit-learn#30407)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremiedbb authored Dec 4, 2024
1 parent c9fa7d4 commit 29f6ca3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sklearn/ensemble/_hist_gradient_boosting/gradient_boosting.py
Original file line number Diff line number Diff line change
Expand Up @@ -1579,7 +1579,7 @@ class HistGradientBoostingRegressor(RegressorMixin, BaseHistGradientBoosting):
scoring : str or callable or None, default='loss'
Scoring parameter to use for early stopping. It can be a single
string (see :ref:`scoring_parameter`) or a callable (see
:ref:`scoring`). If None, the estimator's default scorer is used. If
:ref:`scoring_callable`). If None, the estimator's default scorer is used. If
``scoring='loss'``, early stopping is checked w.r.t the loss value.
Only used if early stopping is performed.
validation_fraction : int or float or None, default=0.1
Expand Down Expand Up @@ -1961,7 +1961,7 @@ class HistGradientBoostingClassifier(ClassifierMixin, BaseHistGradientBoosting):
scoring : str or callable or None, default='loss'
Scoring parameter to use for early stopping. It can be a single
string (see :ref:`scoring_parameter`) or a callable (see
:ref:`scoring`). If None, the estimator's default scorer
:ref:`scoring_callable`). If None, the estimator's default scorer
is used. If ``scoring='loss'``, early stopping is checked
w.r.t the loss value. Only used if early stopping is performed.
validation_fraction : int or float or None, default=0.1
Expand Down

0 comments on commit 29f6ca3

Please sign in to comment.