Skip to content

DOC add more developer doc in RidgeGCV #29857

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 3 commits into from
Sep 18, 2024

Conversation

glemaitre
Copy link
Member

When working on fixing a couple of issues in RidgeCV (eg. #29634), we find out that it is not particularly easy to understand the different code path and what is _RidgeGCV without going into details in the maths of the references.

I'm trying to provide a higher level explanation in the docstring of _RidgeGCV to have a quick overview of what is going on.

Copy link

github-actions bot commented Sep 16, 2024

✔️ Linting Passed

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

Generated for commit: 00d2945. Link to the linter CI: here

@StefanieSenger
Copy link
Contributor

I will have a look.

Copy link
Contributor

@StefanieSenger StefanieSenger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @glemaitre, for taking this on. I have a few suggestions.

Copy link
Member

@adrinjalali adrinjalali left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What bothers me the most, and has caused issues, is that _RidgeGCV is not a valid estimator.

glemaitre and others added 2 commits September 17, 2024 22:14
Co-authored-by: Stefanie Senger <91849487+StefanieSenger@users.noreply.github.com>
@StefanieSenger
Copy link
Contributor

I like it, thank you @glemaitre.

@adrinjalali adrinjalali merged commit 199322d into scikit-learn:main Sep 18, 2024
30 checks passed
kbharat1210 pushed a commit to kbharat1210/scikit-learn that referenced this pull request Sep 25, 2024
Co-authored-by: Stefanie Senger <91849487+StefanieSenger@users.noreply.github.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.

3 participants