How to find an optimum number of processes in GridSearchCV( …, n_jobs = … )?
I'm wondering, which is better to use with GridSearchCV( ..., n_jobs = ... ) to pick the best parameter set for a model, n_jobs = -1 or n_jobs with a big number, like n_jobs = 30 ? Based on Sklearn documentation: n_jobs = -1 means that the computation will be dispatched on all the CPUs of the computer. On my PC I have an Intel i3 CPU, which has 2 cores and 4 threads, so does that mean if I set n_jobs = -1 , implicitly it will be equal to n_jobs = 2 ? user3666197 ... does that mean if I set n_jobs = -1 , implicitly it will be equal to n_jobs = 2 ? This one is easy : python ( scipy / joblib