8000 DOC Explain solver choices for LogisticRegression (#12768) · xhluca/scikit-learn@d117ffc · GitHub
[go: up one dir, main page]

Skip to content

Commit d117ffc

Browse files
amuellerXing
authored andcommitted
DOC Explain solver choices for LogisticRegression (scikit-learn#12768)
1 parent 60b24f5 commit d117ffc

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

doc/modules/linear_model.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -817,11 +817,10 @@ The following table summarizes the penalties supported by each solver:
817817
| Robust to unscaled datasets | yes | yes | yes | no | no |
818818
+------------------------------+-----------------+-------------+-----------------+-----------+------------+
819819

820-
The "saga" solver is often the best choice but requires scaling. The
821-
"lbfgs" solver is used by default for historical reasons.
822-
820+
The "lbfgs" solver is used by default for its robustness. For large datasets
821+
the "saga" solver is usually faster.
823822
For large dataset, you may also consider using :class:`SGDClassifier`
824-
with 'log' loss.
823+
with 'log' loss, which might be even faster but require more tuning.
825824

826825
.. topic:: Examples:
827826

0 commit comments

Comments
 (0)
0