Repository navigation
DOC improve User Guide on Linear Models - Lasso - #35321
Merged
lucyleeow merged 5 commits intoNov 13, 2026
Merged
Conversation
This was referenced Nov 6, 2026
lorentzenchr
force-pushed
the
ug_linear_models_lasso
branch
from
November 6, 2026 14:03
a71c98c to
ebc6148
Compare
virchan
reviewed
Nov 7, 2026
virchan
left a comment
Member
There was a problem hiding this comment.
Thank you for the PR, @lorentzenchr.
I have a few nits. Otherwise, LGTM.
Member
Author
|
@lucyleeow Also interested in this one? (tell me if you don’t want me to tag you on these doc PRs) |
lucyleeow
approved these changes
Nov 13, 2026
lucyleeow
left a comment
Member
There was a problem hiding this comment.
Thanks! I did see this but just hadn't gotten around to it! Happy to be pinged.
Comment on lines
+348
to
+349
| This shows that different estimators use a different scaling behaviour of the penalty | ||
| parameter ``alpha`` with the sample size ``n_samples``. |
Member
There was a problem hiding this comment.
It is nice that this is detailed (especially after all the discussion in #32042). It's implied from the equation but would it be worth adding something like 'Thus the influence of alpha fades with increasing n for Ridge but not Lasso'? (for the more mathematically challenged among us - i.e. me)
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Reference Issues/PRs
Contributes to #33537.
Continuation of #35219.
What does this implement/fix? Explain your changes.
This PR improves the user guide on linear models:
AI usage disclosure
Any other comments?