Skip to content

TST Improve ridge solver consistency tests#19503

Merged
lorentzenchr merged 2 commits intoscikit-learn:mainfrom
ogrisel:test_ridge-test_solver_consistency
Feb 22, 2021
Merged

TST Improve ridge solver consistency tests#19503
lorentzenchr merged 2 commits intoscikit-learn:mainfrom
ogrisel:test_ridge-test_solver_consistency

Conversation

@ogrisel
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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