Fix division error in inactive leaf size estimation#1721
Fix division error in inactive leaf size estimation#1721kulbachcedric merged 6 commits intoonline-ml:mainfrom
Conversation
|
Hello Cedric, Are you sure this is the correct fix? |
|
Hi @e10e3 |
smastelini
left a comment
There was a problem hiding this comment.
LGTM! Thanks @kulbachcedric to look into that! Would you mind adding an entry in the release notes?
|
Sorry! I didn't see the use of the active leaves in the lines above. |
Yes, we are, you're correct. Your first commit was not wrong per se, but because you mentioned that you just applied the suggestions from the issue reporter, I wanted to point out that the issue was about a different line, so that you didn't end up patching a different problem while keeping the original one unsolved 😁. In the end, both lines are affected by the same bug and a complete fix would apply to both. |
|
Thank you for adding a changelog note. Don't you think it should go in another section? Previous changelogs had a section for each module, so it would make sense to sort this change under “tree” rather than “stats”. |
Co-authored-by: Émile <73942755+e10e3@users.noreply.github.com>
Hi all,
just added the check for devision errors as mentioned in #1717
Best
Cedric