<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>What interval between dying, vs. how long is the run overall?
Obviously you want that ratio to be 'small enough'.<br>
</p>
<br>
<div class="moz-cite-prefix">On 1/7/18 3:35 PM, Joel Nothman wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAAkaFLWkcG3RwTFLkBJv=qZLn46j7spZ89XQwvimbV=JSZS5tQ@mail.gmail.com">
<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"
moz-do-not-send="true">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"
moz-do-not-send="true">scikit-learn@python.org</a><br>
<a
href="https://mail.python.org/mailman/listinfo/scikit-learn"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://mail.python.org/<wbr>mailman/listinfo/scikit-learn</a><br>
<br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
scikit-learn mailing list
<a class="moz-txt-link-abbreviated" href="mailto:scikit-learn@python.org">scikit-learn@python.org</a>
<a class="moz-txt-link-freetext" href="https://mail.python.org/mailman/listinfo/scikit-learn">https://mail.python.org/mailman/listinfo/scikit-learn</a>
</pre>
</blockquote>
<br>
</body>
</html>