Skip to content

Commit 4c32aa2

Browse files
vharavuagramfort
authored andcommitted
update for issue scikit-learn#6523 (add logistic_regression_path to classes.rst (scikit-learn#6970)
* update for issue scikit-learn#6523 (add logistic_regression_path to classes.rst * Clarifies statement about no warm-start and no speedup with liblinear
1 parent 2ea5666 commit 4c32aa2

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

doc/modules/classes.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -727,6 +727,7 @@ Kernels:
727727
linear_model.lars_path
728728
linear_model.lasso_path
729729
linear_model.lasso_stability_path
730+
linear_model.logistic_regression_path
730731
linear_model.orthogonal_mp
731732
linear_model.orthogonal_mp_gram
732733

sklearn/linear_model/logistic.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,8 @@ def logistic_regression_path(X, y, pos_class=None, Cs=10, fit_intercept=True,
458458
This is an implementation that uses the result of the previous model
459459
to speed up computations along the set of solutions, making it faster
460460
than sequentially calling LogisticRegression for the different parameters.
461+
Note that there will be no speedup with liblinear solver, since it does
462+
not handle warm-starting.
461463
462464
Read more in the :ref:`User Guide <logistic_regression>`.
463465

0 commit comments

Comments
 (0)