-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
How to set n_jobs = -1 from tpot #558
Comments
Please check TPOT API. TPOT allows parallel computing during optimization process with |
Thank you and I apologize for not having seen that before. |
There are two ways to accomplish this task. You can do what @weixuanfu suggested and set TPOT's |
I try to set |
Dosnt work, use something else. |
I am trying out the simple MNIST digit recognition example from https://rhiever.github.io/tpot/examples/ .
I noticed that only one core was being used despite many of the sklearn classifiers supporting n_jobs.
Context of the issue
Is there a simple way to add n_jobs to those classifiers that support it through tpot?
Process to reproduce the issue
Run the simple MNIST digit recognition example from https://rhiever.github.io/tpot/examples/
Run
top
. Press1
to see number of cores being used.Expected result
It would be great if all the cores were used.
Current result
Only one core is used.
Possible fix
Tpot could pass n_jobs = -1 to those classifiers that support it.
The text was updated successfully, but these errors were encountered: