Skip to content

TST Improve ridge solver consistency tests #19503

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

Conversation

ogrisel
Copy link
Member

@ogrisel ogrisel commented Feb 19, 2021

Since we plan to deprecate the normalize=True option for linear models as it's inconsistent, buggy and not very explicit compared to explicit data-preprocessing, I want to increase the coverage the consistency of ridge solvers for the case where normalize=False.

I came up with this test coverage improvement while trying to investigate why #19426 is currently failing on this test but I think this should be merged to the main branch irrespective of what we do in #19426 (and rebase #19426 on main after merge accordingly).

Copy link
Member

@thomasjpfan thomasjpfan left a comment

Choose a reason for hiding this comment

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

LGTM

@thomasjpfan thomasjpfan changed the title Improve ridge solver consistency tests TST Improve ridge solver consistency tests Feb 20, 2021
Copy link
Member

@lorentzenchr lorentzenchr left a comment

Choose a reason for hiding this comment

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

LGTM

@lorentzenchr lorentzenchr merged commit 23f8df3 into scikit-learn:main Feb 22, 2021
@ogrisel ogrisel deleted the test_ridge-test_solver_consistency branch February 22, 2021 09:06
@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.

3 participants