First Thanks for reply.

@Hames : I understand that n_jobs "should be depending on the number of cpu
cores available on your machine". But I am running code on Grid computing
environment where I have to specify the number of CPUs in advance.

Does this mean if I (reserve 64 cores and) specify n_jobs=64 the job will
take (Approximately) half of the time then n_jobs=32 ?

And again just to be sure :
What if I (reserve and) specify n_jobs= 35 , will all the 35 cores be used
(while the maximum possible job combination is 32)?

Off course, I want to avoid the situation where the core is reserved but
not used.



On 21 August 2014 13:03, Lars Buitinck <[email protected]> wrote:

> 2014-08-21 12:32 GMT+02:00 Sheila the angel <[email protected]>:
> > 1. What should be the n_jobs value, 8 or (8*4=) 32 ?
>
> n_jobs is the number of CPUs you want to use, not the amount of work.
> (It's a misnomer because the number of jobs/work items is variable;
> the parameter determines the number of workers performing the jobs.)
>
>
> ------------------------------------------------------------------------------
> Slashdot TV.
> Video for Nerds.  Stuff that matters.
> http://tv.slashdot.org/
> _______________________________________________
> Scikit-learn-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>
------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to