Hi,

When I train a random forest, I'd like it to use all the cores. I set 
n_jobs = -1, but it doesn't have an effect: the software uses only one 
core, even though the printout shows eight:

[Parallel(n_jobs=8)]: Done   1 out of   8 | elapsed: 50.4min remaining: 
352.9min
[Parallel(n_jobs=8)]: Done   8 out of   8 | elapsed: 50.4min finished

The script is in * if __name__ == "__main__" * format. Sklearn version 
is 0.14.1.

How to fix / debug the issue?

Best,
Zygmunt

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to