Skip to content

DOC : fixing missing solvers in logreg doc - #13278

Merged
agramfort merged 2 commits into
scikit-learn:masterfrom
rmenuet:logreg_docfix
Feb 27, 2019
Merged

agramfort merged 2 commits into
scikit-learn:masterfrom
rmenuet:logreg_docfix

Conversation

@rmenuet

@rmenuet rmenuet commented Feb 26, 2019

Copy link
Copy Markdown
Contributor

Reference Issues/PRs

Fixes #13274

What does this implement/fix? Explain your changes.

Added liblinear and saga in the docstring following @GaelVaroquaux issue and @btel test

Comment thread sklearn/linear_model/logistic.py Outdated

max_iter : int, optional (default=100)
Useful only for the newton-cg, sag and lbfgs solvers.
Useful only for the newton-cg, sag, lbfgs, liblinear and saga solvers.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I guess we should simply remove this line, because this list includes all supported solvers.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

+1
I would just write:

The maximum number of iterations used by the solver.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

+1

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Makes sense, simplification incoming...

@agramfort agramfort changed the title fixing missing solvers in logreg doc DOC : fixing missing solvers in logreg doc Feb 27, 2019
@agramfort
agramfort merged commit ad39ce5 into scikit-learn:master Feb 27, 2019
@agramfort

Copy link
Copy Markdown
Member

thx @zanospi

xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
DOC : fixing missing solvers in logreg doc
xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
koenvandevelde pushed a commit to koenvandevelde/scikit-learn that referenced this pull request Jul 12, 2019
DOC : fixing missing solvers in logreg doc
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.

max_iter documentation seems wrong in LogisticRegression

4 participants