Repository navigation
DEP start deprecation of attributes in LogisticRegressionCV - #32114
Conversation
|
Dear reviewers, feel free to finish in case I am unresponsive. |
|
Oh boy, this is kinda dirty. I wish we'd simply do a v2 instead of all this deprecation. Technically, this correctly follows our policy though. @lorentzenchr CI fails here. I don't think there's any other way to do this. cc @jeremiedbb |
|
The failing CD is Ubuntu Jammy Jellyfish, see our file |
I don't think we should ignore those warnings, we should be fixing them making sure they're not raised in our docs and tests. |
glemaitre
left a comment
There was a problem hiding this comment.
The rendering in the changelog looks broken. Locally adding a new line was solving the problem. Let's see if it would be the case on the CI.
😓 |
|
Oopsi. |
|
@lorentzenchr out of curiosity AFAICT:
In other words, how did you decide to change it from a Not sure how much we expect |
|
|
Reference Issues/PRs
Fixes #32075.
Ideally, #32073 gets merged first.
What does this implement/fix? Explain your changes.
This PR adds the parameter
LogisticRegressionCV(use_legacy_attributes=True)and implements the logic in case it isFalse.A warning is raised that announces the future change of default value and the future deprecation of this new parameter.
Any other comments?