Skip to content

Commit

Permalink
DOC multiclass: OvO needs predict_proba or decision_function
Browse files Browse the repository at this point in the history
Fixes #3183.
  • Loading branch information
larsmans committed May 23, 2014
1 parent 8e24535 commit 95619a9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sklearn/multiclass.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,8 @@ class OneVsOneClassifier(BaseEstimator, ClassifierMixin, MetaEstimatorMixin):
Parameters
----------
estimator : estimator object
An estimator object implementing `fit` and `predict`.
An estimator object implementing `fit` and one of `decision_function`
or `predict_proba`.
n_jobs : int, optional, default: 1
The number of jobs to use for the computation. If -1 all CPUs are used.
Expand Down

0 comments on commit 95619a9

Please sign in to comment.