8000 DOC Fix documentation of default values in multiclass.py (#17986) · scikit-learn/scikit-learn@a91d09b · GitHub
[go: up one dir, main page]

Skip to content

Commit a91d09b

Browse files
authored
DOC Fix documentation of default values in multiclass.py (#17986)
1 parent 9760d96 commit a91d09b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

sklearn/multiclass.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ class OneVsRestClassifier(MultiOutputMixin, ClassifierMixin,
160160
An estimator object implementing :term:`fit` and one of
161161
:term:`decision_function` or :term:`predict_proba`.
162162
163-
n_jobs : int or None, optional (default=None)
163+
n_jobs : int, default=None
164164
The number of jobs to use for the computation: the `n_classes`
165165
one-vs-rest problems are computed in parallel.
166166
@@ -521,7 +521,7 @@ class OneVsOneClassifier(MetaEstimatorMixin, ClassifierMixin, BaseEstimator):
521521
An estimator object implementing :term:`fit` and one of
522522
:term:`decision_function` or :term:`predict_proba`.
523523
524-
n_jobs : int or None, optional (default=None)
524+
n_jobs : int, default=None
525525
The number of jobs to use for the computation: the `n_classes * (
526526
n_classes - 1) / 2` OVO problems are computed in parallel.
527527
@@ -745,12 +745,12 @@ class OutputCodeClassifier(MetaEstimatorMixin, ClassifierMixin, BaseEstimator):
745745
one-vs-the-rest. A number greater than 1 will require more classifiers
746746
than one-vs-the-rest.
747747
748-
random_state : int, RandomState instance or None, default=None
748+
random_state : int, RandomState instance, default=None
749749
The generator used to initialize the codebook.
750750
Pass an int for reproducible output across multiple function calls.
751751
See :term:`Glossary <random_state>`.
752752
753-
n_jobs : int or None, optional (default=None)
753+
n_jobs : int, default=None
754754
The number of jobs to use for the computation: the multiclass problems
755755
are computed in parallel.
756756

0 commit comments

Comments
 (0)
0