-
-
Notifications
You must be signed in to change notification settings - Fork 26.1k
ENH Adds n_features_in_ checking to multioutput #19692
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
ENH Adds n_features_in_ checking to multioutput #19692
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.
The tests are passing because the base estimator is raising the correct messages
Recently, we have been trying to have metaestimators not validate input unless it really needs to. For example, _MultiOutputEstimator.predict
can delegate validation to the self.estimators_
and not need to call _validate_data
at all.
@thomasjpfan Thanks for your review. I have implemented your suggestions. |
I think we are going to move forward with getting metaestimators to not validate and delegate that to the inner estimators. We should wait for #19755 to get merged before can move forward with this PR. |
…nto Checks_n_features_in_multioutput
I merged
|
When merging with |
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.
LGTM as well!
Merged! Thanks all! |
Reference Issues/PRs
related to #19333