Skip to content

clarify logisticregression n_jobs param #8083

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 20, 2016

Conversation

rasbt
Copy link
Contributor

@rasbt rasbt commented Dec 19, 2016

Reference Issue

  • /

What does this implement/fix? Explain your changes.

Clarifies the purpose of the n_jobs parameter in the LogisticRegression docstring, i.e., that it is used for fitting estimators in parallel as opposed to doing cross-validation.

Any other comments?

  • /

@@ -1056,8 +1056,9 @@ class LogisticRegression(BaseEstimator, LinearClassifierMixin,
*warm_start* to support *lbfgs*, *newton-cg*, *sag* solvers.

n_jobs : int, default: 1
Number of CPU cores used during the cross-validation loop. If given
a value of -1, all cores are used.
Number of CPU cores used for fitting one classifier per class
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe "used when parallelizing over classes if multi_class='ovr'"?

Copy link
Contributor Author

@rasbt rasbt Dec 19, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, that sounds better!

@amueller
Copy link
Member

LGTM

@jnothman jnothman merged commit 04087bd into scikit-learn:master Dec 20, 2016
sergeyf pushed a commit to sergeyf/scikit-learn that referenced this pull request Feb 28, 2017
@Przemo10 Przemo10 mentioned this pull request Mar 17, 2017
Sundrique pushed a commit to Sundrique/scikit-learn that referenced this pull request Jun 14, 2017
NelleV pushed a commit to NelleV/scikit-learn that referenced this pull request Aug 11, 2017
paulha pushed a commit to paulha/scikit-learn that referenced this pull request Aug 19, 2017
maskani-moh pushed a commit to maskani-moh/scikit-learn that referenced this pull request Nov 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants