-
Notifications
You must be signed in to change notification settings - Fork 217
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
RF: fix performance of feature sampling for node splits #2292
Merged
ahuber21
merged 17 commits into
uxlfoundation:master
from
ahuber21:random-forest-investigation
Mar 24, 2023
+169
−63
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
2457dc9
disable bottlenecks caused by memorySavingMode=false
ahuber21 057404e
feat: make useConstFeatures configurable via params
ahuber21 caa22f5
feat: add drawSample function with O(k) runtime
ahuber21 cbc5414
clean up
ahuber21 908d9ec
Use drawKFromBufferWithoutReplacement in df training
ahuber21 19211b9
sample directly in findBestSplit function to make it O(_maxFeatures)
ahuber21 2d74b1d
fixup comments
ahuber21 fbc2d06
fixup comments and function name
ahuber21 3c17d4f
fixup add missing initialization
ahuber21 022a0eb
rename service_memset_sequential -> service_memset_incrementing
ahuber21 e9f33a4
fixup use int64_t for split index helpers
ahuber21 ef1c306
revert using int64_t in findBestSplit* functions
ahuber21 108c700
fixup add useConstFeatures parameter to oneapi interface
ahuber21 b18e484
Revert "feat: make useConstFeatures configurable via params"
ahuber21 02e8ac1
Revert "fixup add useConstFeatures parameter to oneapi interface"
ahuber21 cb9d780
cleanup after revert
ahuber21 343ad82
feat: status checks for node splitting algorithms
ahuber21 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
drawKFromBufferWithoutReplacement returns error code, but it is not checked here.
Please see the other comment in this review that describes more correct way of handling errors in DAAL.
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.
Didn't add it to this part because it's dead code, will remove it soon