8000 MRG: Deprecate normalize in least_angle models by maikia · Pull Request #17769 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

MRG: Deprecate normalize in least_angle models #17769

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 12 commits into from
Jun 18, 2021

Conversation

maikia
Copy link
Contributor
@maikia maikia commented Jun 29, 2020

Towards: #3020

It deprecates 'normalize' in _least_angle.py:
Lars, LassoLars, LarsCV, LassoLarsCV, LassoLarsIC

Base automatically changed from master to main January 22, 2021 10:52
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.

A loooooooooooooooooooooooooooong deprecation cycle. Let's get it over with.

LGTM after a changelog entry and CI passes.

Comment on lines 144 to 145
# FIXME: 'normalize' to be removed in 1.4
@pytest.mark.filterwarnings("ignore:The default of 'normalize'")
Copy link
Member

Choose a reason for hiding this comment

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

I personally would prefer to set pytestmark = pytest.mark.filterwarnings(...) at the beginning of the test module instead of setting the decorator on every test function.

@agramfort agramfort changed the title WIP: Deprecate normalize in least_angle models MRG: Deprecate normalize in least_angle models Jun 18, 2021
Copy link
Member
@agramfort agramfort left a comment

Choose a reason for hiding this comment

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

This one should be good to go @rth @lorentzenchr @ogrisel

Copy link
Member
@rth rth left a comment
A685

Choose a reason for hiding this comment

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

Thanks @agramfort @maikia !

@rth rth merged commit 8a63ec4 into scikit-learn:main Jun 18, 2021
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.

4 participants
0