diff --git a/sklearn/ensemble/_gb.py b/sklearn/ensemble/_gb.py index 63792f2c44975..2ba75cbc46cb0 100644 --- a/sklearn/ensemble/_gb.py +++ b/sklearn/ensemble/_gb.py @@ -1123,8 +1123,9 @@ class GradientBoostingClassifier(ClassifierMixin, BaseGradientBoosting): classification is a special case where only a single regression tree is induced. - :class:`sklearn.ensemble.HistGradientBoostingClassifier` is a much faster - variant of this algorithm for intermediate datasets (`n_samples >= 10_000`). + :class:`~sklearn.ensemble.HistGradientBoostingClassifier` is a much faster variant + of this algorithm for intermediate and large datasets (`n_samples >= 10_000`) and + supports monotonic constraints. Read more in the :ref:`User Guide `. @@ -1726,8 +1727,9 @@ class GradientBoostingRegressor(RegressorMixin, BaseGradientBoosting): each stage a regression tree is fit on the negative gradient of the given loss function. - :class:`sklearn.ensemble.HistGradientBoostingRegressor` is a much faster - variant of this algorithm for intermediate datasets (`n_samples >= 10_000`). + :class:`~sklearn.ensemble.HistGradientBoostingRegressor` is a much faster variant + of this algorithm for intermediate and large datasets (`n_samples >= 10_000`) and + supports monotonic constraints. Read more in the :ref:`User Guide `.