You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
BUG: Trees: minor bug in NaN detection leading to incorrect split. #33113
The breakhere is wrong, and in some edge cases it will prevent _any_isnan_axis0 detecting NaNs for some features. Then because of that, the splitter won't considers splits with NaNs on the left (because it's not aware this feature has NaNs).
Hi, thanks for reporting this issue.
I’m looking into this and can reproduce the behavior.
I’m planning to add a regression test and propose a fix for the NaN handling in the splitter logic.
Please let me know if this approach sounds acceptable.
Activity
utkarshsinha-dev commentedon Jan 23, 2026
Hi, thanks for reporting this issue.
I’m looking into this and can reproduce the behavior.
I’m planning to add a regression test and propose a fix for the NaN handling in the splitter logic.
Please let me know if this approach sounds acceptable.
Merge pull request #5 from cakedev0/fix/tree_nan_mask
cakedev0 commentedon Jan 23, 2026
Hi, sorry it's already done in #32193