Skip to content

DOC: Improve Ridge regression example — fix typo, clarify title, add legend #31539

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 2 commits into from
Jun 18, 2025

Conversation

dhyeyinf
Copy link
Contributor

This PR improves the plot_ridge_path.py example in the following ways:

  • Fixed a small typo: "practise" → "practice"
  • Updated the plot title for clarity
  • Added a legend to distinguish coefficients by feature index

The goal is to make the example more beginner-friendly and easier to interpret.
If the maintainers prefer the original minimal design without a legend, I’m happy to remove that part — just let me know.

Thanks for reviewing!

Copy link

github-actions bot commented Jun 13, 2025

✔️ Linting Passed

All linting checks passed. Your pull request is in excellent shape! ☀️

Generated for commit: 48dba56. Link to the linter CI: here

@adrinjalali adrinjalali merged commit 1d5e692 into scikit-learn:main Jun 18, 2025
36 checks passed
jeremiedbb pushed a commit to jeremiedbb/scikit-learn that referenced this pull request Jul 15, 2025
…legend (scikit-learn#31539)

Co-authored-by: Dhyey Findoriya <dhyeyinf323@gmail.com>
@jeremiedbb jeremiedbb mentioned this pull request Jul 15, 2025
13 tasks
jeremiedbb pushed a commit to jeremiedbb/scikit-learn that referenced this pull request Jul 16, 2025
…legend (scikit-learn#31539)

Co-authored-by: Dhyey Findoriya <dhyeyinf323@gmail.com>
jeremiedbb pushed a commit to jeremiedbb/scikit-learn that referenced this pull request Jul 16, 2025
…legend (scikit-learn#31539)

Co-authored-by: Dhyey Findoriya <dhyeyinf323@gmail.com>
jeremiedbb pushed a commit to jeremiedbb/scikit-learn that referenced this pull request Jul 16, 2025
…legend (scikit-learn#31539)

Co-authored-by: Dhyey Findoriya <dhyeyinf323@gmail.com>
jeremiedbb pushed a commit to jeremiedbb/scikit-learn that referenced this pull request Jul 16, 2025
…legend (scikit-learn#31539)

Co-authored-by: Dhyey Findoriya <dhyeyinf323@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants