<div dir="ltr">What do you mean by "the jobs start to die out one by one"? Surely the jobs should finish and die out one by one...?</div><div class="gmail_extra"><br><div class="gmail_quote">On 8 January 2018 at 06:35, Sumeet Sandhu <span dir="ltr"><<a href="mailto:sumeet.k.sandhu@gmail.com" target="_blank">sumeet.k.sandhu@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I was able to run this with n_jobs=-1, and the activity monitor does show all 8 CPUs engaged, but the jobs start to die out one by one. I tried with n_jobs=2, same story. </div><div>The only option that works is n_jobs=1. </div><div>I played around with 'pre_dispatch' a bit - unclear what that does.</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><font size="1">GRID = GridSearchCV(<wbr>LogisticRegression(), param_grid, scoring=None, fit_params=None, n_jobs=1, iid=True, refit=True, cv=10, verbose=0, error_score=0, return_train_score=False)</font></div><div><div><font size="1">GRID.fit(trainDocumentV,<wbr>trainLabelV)</font></div></div></blockquote><div><div><br></div></div><div>How can I sustain at least 3-4 parallel jobs?</div><div><br></div><div>thanks,</div><div>Sumeet</div></div>
<br>______________________________<wbr>_________________<br>
scikit-learn mailing list<br>
<a href="mailto:scikit-learn@python.org">scikit-learn@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/scikit-learn" rel="noreferrer" target="_blank">https://mail.python.org/<wbr>mailman/listinfo/scikit-learn</a><br>
<br></blockquote></div><br></div>