-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
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
MRG: Deprecate normalize in least_angle models #17769
Conversation
There was a problem hiding this 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.
# FIXME: 'normalize' to be removed in 1.4 | ||
@pytest.mark.filterwarnings("ignore:The default of 'normalize'") |
There was a problem hiding this comment.
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.
There was a problem hiding this 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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @agramfort @maikia !
Towards: #3020
It deprecates 'normalize' in _least_angle.py:
Lars, LassoLars, LarsCV, LassoLarsCV, LassoLarsIC