Skip to content

Commit fe1ec1c

Browse files
authored
DOC Update random_state descriptions for ensemble/_base (scikit-learn#16847)
1 parent f45c0c0 commit fe1ec1c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

sklearn/ensemble/_base.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ def _set_random_states(estimator, random_state=None):
5454
parameters.
5555
5656
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`.
57+
Pseudo-random number generator to control the generation of the random
58+
integers. Pass an int for reproducible output across multiple function
59+
calls.
60+
See :term:`Glossary <random_state>`.
6161
6262
Notes
6363
-----

0 commit comments

Comments
 (0)