-
-
Notifications
You must be signed in to change notification settings - Fork 26.5k
MAINT use Voting and Stacking support missing values #27710
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
MAINT use Voting and Stacking support missing values #27710
Conversation
OmarManzoor
left a comment
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 for the PR @glemaitre
OmarManzoor
left a comment
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. Thanks @glemaitre
thomasjpfan
left a comment
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
| def _more_tags(self): | ||
| try: | ||
| allow_nan = all( | ||
| _safe_tags(est[1])["allow_nan"] if est[1] != "drop" else True |
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 agree this is better than main. Unfortunately, our tag system for allowing nans do not work with pipelines.
REF: #27903
While working on #27709, it appears that using
DecisionTreein common tests would be better because:By changing the common tests, I came across an error regarding the
allow_nantag for both theVotingandStackingestimators.This PR makes 2 changes:
allow_nantags forVotingandStackingestimators