Skip to content

Commit

Permalink
Update random_state gradient_boosting doc (#16315)
Browse files Browse the repository at this point in the history
  • Loading branch information
DatenBiene committed Jan 30, 2020
1 parent d2b8542 commit 9c2d889
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions sklearn/ensemble/_hist_gradient_boosting/gradient_boosting.py
Expand Up @@ -737,7 +737,9 @@ class HistGradientBoostingRegressor(RegressorMixin, BaseHistGradientBoosting):
optional (default=None)
Pseudo-random number generator to control the subsampling in the
binning process, and the train/validation data split if early stopping
is enabled. See :term:`random_state`.
is enabled.
Pass an int for reproducible output across multiple function calls.
See :term:`Glossary <random_state>`.
Attributes
----------
Expand Down Expand Up @@ -919,7 +921,9 @@ class HistGradientBoostingClassifier(BaseHistGradientBoosting,
optional (default=None)
Pseudo-random number generator to control the subsampling in the
binning process, and the train/validation data split if early stopping
is enabled. See :term:`random_state`.
is enabled.
Pass an int for reproducible output across multiple function calls.
See :term:`Glossary <random_state>`.
Attributes
----------
Expand Down

0 comments on commit 9c2d889

Please sign in to comment.