-
-
Notifications
You must be signed in to change notification settings - Fork 26k
API Deprecate n_features_in_
from Dummy*
#20960
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
API Deprecate n_features_in_
from Dummy*
#20960
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.
LGTM
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 @thomasjpfan
n_features_in_
from Dummy*
n_features_in_
from Dummy*
Ups my approval was a bit too fast. We need to update the tests to avoid raising the warning. I think that for some tests, we might need to change the |
Whops, @NicolasHug was a bit too fast :). I will make a PR to correct the failures then :) |
Oh wow, sorry... I was sure I checked 🤦 |
I opened #20963 |
This one needs to be backported |
done already |
Reference Issues/PRs
Fixes #20874
What does this implement/fix? Explain your changes.
An alternative is to define
n_features_in_
andfeature_names_in_
and not validate.CC @NicolasHug