DOC Fix documentation of default values in multiclass.py
@@ -160,7 +160,7 @@ class OneVsRestClassifier(MultiOutputMixin, ClassifierMixin,
An estimator object implementing :term:`fit` and one of
:term:`decision_function` or :term:`predict_proba`.
- n_jobs : int or None, optional (default=None)
+ n_jobs : int, default=None
The number of jobs to use for the computation: the `n_classes`
one-vs-rest problems are computed in parallel.
@@ -521,7 +521,7 @@ class OneVsOneClassifier(MetaEstimatorMixin, ClassifierMixin, BaseEstimator):
An estimator object implementing :term:`fit` and one of
:term:`decision_function` or :term:`predict_proba`.
- n_jobs : int or None, optional (default=None)
+ n_jobs : int, default=None
The number of jobs to use for the computation: the `n_classes * (
n_classes - 1) / 2` OVO problems are computed in parallel.
@@ -745,12 +745,12 @@ class OutputCodeClassifier(MetaEstimatorMixin, ClassifierMixin, BaseEstimator):
one-vs-the-rest. A number greater than 1 will require more classifiers
than one-vs-the-rest.
- random_state : int, RandomState instance or None, default=None
+ random_state : int, RandomState instance, default=None
The generator used to initialize the codebook.
Pass an int for reproducible output across multiple function calls.
See :term:`Glossary <random_state>`.
- n_jobs : int or None, optional (default=None)
+ n_jobs : int, default=None
The number of jobs to use for the computation: the multiclass problems
are computed in parallel.
