8000 DOC added links to plot_gradient_boosting_regularization.py and plot_gradient_boosting_categorical.py by Siniade · Pull Request #30749 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

DOC added links to plot_gradient_boosting_regularization.py and plot_gradient_boosting_categorical.py #30749

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Feb 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions sklearn/ensemble/_gb.py
Original file line number Diff line number Diff line change
Expand Up @@ -1152,6 +1152,10 @@ class GradientBoostingClassifier(ClassifierMixin, BaseGradientBoosting):
There is a trade-off between learning_rate and n_estimators.
Values must be in the range `[0.0, inf)`.

For an example of the effects of this parameter and its interaction with
``subsample``, see
:ref:`sphx_glr_auto_examples_ensemble_plot_gradient_boosting_regularization.py`.

n_estimators : int, default=100
The number of boosting stages to perform. Gradient boosting
is fairly robust to over-fitting so a large number usually
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1512,7 +1512,8 @@ class HistGradientBoostingRegressor(RegressorMixin, BaseHistGradientBoosting):
converted to floating point numbers. This means that categorical values
of 1.0 and 1 are treated as the same category.

Read more in the :ref:`User Guide <categorical_support_gbdt>`.
Read more in the :ref:`User Guide <categorical_support_gbdt>` and
:ref:`sphx_glr_auto_examples_ensemble_plot_gradient_boosting_categorical.py`.

.. versionadded:: 0.24

Expand Down
Loading
0