Skip to content

[ML] Boosted tree tidy ups #1155

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

Merged
merged 2 commits into from
Apr 21, 2020
Merged

[ML] Boosted tree tidy ups #1155

merged 2 commits into from
Apr 21, 2020

Conversation

tveasey
Copy link
Contributor

@tveasey tveasey commented Apr 20, 2020

Following on from #1125, we no longer need to recover memory inside CBoostedTreeLeafNodeStatistics for splits whose gain is less than zero. Dereferencing a row iterator has a cost and we should minimise the number of times we do it in performance sensitive code. Finally, a small refactor to suppress a variable shadowing warning.

Copy link
Contributor

@droberts195 droberts195 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tveasey tveasey merged commit 81fec2e into elastic:master Apr 21, 2020
@tveasey tveasey deleted the tidy-up branch April 21, 2020 08:28
tveasey added a commit to tveasey/ml-cpp-1 that referenced this pull request Apr 23, 2020
tveasey added a commit that referenced this pull request Apr 24, 2020
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.

2 participants