We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f45c0c0 commit fe1ec1cCopy full SHA for fe1ec1c
sklearn/ensemble/_base.py
@@ -54,10 +54,10 @@ def _set_random_states(estimator, random_state=None):
54
parameters.
55
56
random_state : int or RandomState, default=None
57
- If int, random_state is the seed used by the random number generator;
58
- If RandomState instance, random_state is the random number generator;
59
- If None, the random number generator is the RandomState instance used
60
- by `np.random`.
+ Pseudo-random number generator to control the generation of the random
+ integers. Pass an int for reproducible output across multiple function
+ calls.
+ See :term:`Glossary <random_state>`.
61
62
Notes
63
-----
0 commit comments