-
-
Notifications
You must be signed in to change notification settings - Fork 26.2k
ENH/FIX stopping criterion for coordinate descent gap <= tol
#31906
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
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
aed378a
ENH improve stopping criterion of coordinate descent
lorentzenchr 6614008
TST move test_model_pipeline_same_dense_and_sparse to test_common.py
lorentzenchr c960dca
DOC add whatsnew
lorentzenchr 223e2ef
CLN fix latex formula
lorentzenchr fea0c15
DOC docstring for tol
lorentzenchr 5f8bdf4
Update doc/whats_new/upcoming_changes/sklearn.linear_model/31906.enha…
lorentzenchr 3571294
Update 31906.enhancement.rst
lorentzenchr 8426f12
Merge branch 'main' into cd_tol
OmarManzoor File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
doc/whats_new/upcoming_changes/sklearn.linear_model/31906.enhancement.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
- :class:`linear_model.ElasticNet`, :class:`linear_model.ElasticNetCV`, | ||
:class:`linear_model.Lasso`, :class:`linear_model.LassoCV`, | ||
:class:`MultiTaskElasticNet`, :class:`MultiTaskElasticNetCV`, | ||
:class:`MultiTaskLasso`, :class:`MultiTaskLassoCV`, as well as | ||
:func:`linear_model.enet_path` and :func:`linear_model.lasso_path` | ||
now use `dual gap <= tol` instead of `dual gap < tol` as stopping criterion. | ||
The resulting coefficients might differ to previous versions of scikit-learn in | ||
rare cases. | ||
By :user:`Christian Lorentzen <lorentzenchr>`. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.