Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only Fit is parallelized for OneVsRestClassifier #11343

Open
EmreAtes opened this issue Jun 21, 2018 · 1 comment
Open

Only Fit is parallelized for OneVsRestClassifier #11343

EmreAtes opened this issue Jun 21, 2018 · 1 comment
Labels
module:multiclass Needs Benchmarks A tag for the issues and PRs which require some benchmarks Performance

Comments

@EmreAtes
Copy link

Description

sklearn.multiclass.OneVsRestClassifier has an n_jobs parameter, which runs the fit method in parallel for all of the sub-estimators. However, predict or predict_proba are not executed in parallel.

Here is the code that is not parallel for predict_proba, and here is the code that is parallel for fit.

Versions

master branch

@jnothman
Copy link
Member

jnothman commented Jun 21, 2018 via email

@cmarmo cmarmo added Needs Benchmarks A tag for the issues and PRs which require some benchmarks Performance module:multiclass labels Jan 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module:multiclass Needs Benchmarks A tag for the issues and PRs which require some benchmarks Performance
Projects
None yet
Development

No branches or pull requests

3 participants