8000 DOC Update random_state description for Multiclass (#16839) · scikit-learn/scikit-learn@9358a6e · GitHub
[go: up one dir, main page]

Skip to content

Commit 9358a6e

Browse files
authored
DOC Update random_state description for Multiclass (#16839)
1 parent 9d366a4 commit 9358a6e

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

sklearn/multiclass.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -707,10 +707,9 @@ class OutputCodeClassifier(MetaEstimatorMixin, ClassifierMixin, BaseEstimator):
707707
than one-vs-the-rest.
708708
709709
random_state : int, RandomState instance or None, optional, default: None
710-
The generator used to initialize the codebook. If int, random_state is
711-
the seed used by the random number generator; If RandomState instance,
712-
random_state is the random number generator; If None, the random number
713-
generator is the RandomState instance used by `np.random`.
710+
The generator used to initialize the codebook.
711+
Pass an int for reproducible output across multiple function calls.
712+
See :term:`Glossary <random_state>`.
714713
715714
n_jobs : int or None, optional (default=None)
716715
The number of jobs to use for the computation.

0 commit comments

Comments
 (0)
0