Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

cakedev0
Copy link
Contributor

@cakedev0 cakedev0 commented Sep 25, 2025

Reference Issues/PRs

Fixes #32272

What does this implement/fix? Explain your changes.

Simple fix of the if-condition detecting constant features.

Any other comments?

I'm not willing to write a lot of tests in this PR, as I'd rather move forward on this testing-focused PR instead: #32193

Indeed it's the test from this PR that made me find this bug (and also detected two other bugs) while not being aimed at finding this bug precisely (nor any of the two others). Which, IMO, proves it's a better test (for split logic correctness) than tests that are already present, and better than toy examples.

Copy link

github-actions bot commented Sep 25, 2025

✔️ Linting Passed

All linting checks passed. Your pull request is in excellent shape! ☀️

Generated for commit: 9f99cce. Link to the linter CI: here

@cakedev0 cakedev0 marked this pull request as ready for review September 25, 2025 21:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Decision/Extra trees & missing values: split ignored when NaNs + single unique value in feature
1 participant