Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

MNT better error message in RidgeCV #19020

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
Dec 17, 2020
Merged

MNT better error message in RidgeCV #19020

merged 2 commits into from
Dec 17, 2020

Conversation

brianrice2
Copy link
Contributor

Reference Issues/PRs

Fixes #18994

What does this implement/fix? Explain your changes.

Since alphas of zero are disallowed, this adds (a word) to the error message to specify that alphas must be strictly positive.

Any other comments?

Includes a commit for updates to two tests which were expecting the previous error message (no "strictly").

Copy link
Member

@glemaitre glemaitre left a comment

Choose a reason for hiding this comment

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

LGTM.

Thanks @brianrice2
Let's wait for a second review before merging the PR.

Copy link
Member

@NicolasHug NicolasHug left a comment

Choose a reason for hiding this comment

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

Thanks @brianrice2

@NicolasHug NicolasHug changed the title FIX improve RidgeCV alpha error message - specify that values must be strictly positive MNT better error message in RidgeCV Dec 17, 2020
@NicolasHug NicolasHug merged commit e1408d0 into scikit-learn:master Dec 17, 2020
@glemaitre glemaitre mentioned this pull request Dec 22, 2020
14 tasks
@glemaitre glemaitre mentioned this pull request Apr 22, 2021
12 tasks
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.

Improper error message in RidgeCV regarding null alpha
3 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.