ENH Adds n_features_in_ checking to multioutput#19692
ENH Adds n_features_in_ checking to multioutput#19692ogrisel merged 27 commits intoscikit-learn:mainfrom
Conversation
thomasjpfan
left a comment
There was a problem hiding this comment.
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 |
|
Merged! Thanks all! |
Reference Issues/PRs
related to #19333