forked from apache/spark
-
Notifications
You must be signed in to change notification settings - Fork 3
Changes BitSubvector to use System.arraycopy #10
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
Closed
feynmanliang
wants to merge
34
commits into
jkbradley:dt-features
from
feynmanliang:bitset-optimizations
Closed
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
4f4bf8a
Wrote rowToColumnStoreDense method
jkbradley b8d2c93
Wrote TreeUtilSuite to test rowToColumnStoreDense
jkbradley 100d506
scala style
jkbradley 74d6732
Added rowToColumnStoreSparse to tree Utils, and added test suite for it.
jkbradley 1d1d71f
small fix in TreeUtilSuite
jkbradley 3fcdeaf
some updates before rebasing
jkbradley bfa1819
Done implement MVP for partitioning by feature, but need to test and …
jkbradley 9e7b0e9
debugging AltDT, not done yet
jkbradley be5b237
debugging and adding unit tests
jkbradley 3c1a4d3
AltDT failing on imbalanced tree test. Going to refactor to broadcas…
jkbradley 15b009b
AltDT is working
jkbradley d58ce40
removed debug printlns
jkbradley 40719af
fix merge conflicts
jkbradley 5941577
modified AltDT to use ImpurityStats
jkbradley 248d0a7
fixed conflicts with master, and started to add support for categoric…
jkbradley 0764b90
Added computation of unordered features
jkbradley ceaf5f5
refactored to prepare for adding categorical feature support
jkbradley 675951e
Added support for ordered categorical features, but not tested yet
jkbradley 1855176
Added a few unit tests
jkbradley d897714
Changes BitSubvector to use System.arraycopy
feynmanliang 6cc1ed8
Removes commented code
feynmanliang 71fd54c
Fixes nested tests
feynmanliang 1597d11
Makes BitSubvectors left-align on word boundaries and adds comments
feynmanliang 92a6fa5
Changes copyFrom to orWithOffset
feynmanliang 506ac10
Adds dumb impl and failing tests for offset!=0
feynmanliang 2c329df
Pass unit tests, adds debug code
feynmanliang 9a642b8
Removes debug printlns
feynmanliang 49a628a
Fixes implementation, cleans comments, more tests
feynmanliang c5e5480
Improves docs and fixes Long.MaxValue bug
feynmanliang 1213f86
Cleans up shared state in BitSetSuite
feynmanliang 8f1360f
Cleans up shared state in BitSubvectorSuite
feynmanliang 3c5060d
Loops through offsets for orWithOffset test
feynmanliang 2db78ee
Updates test names
feynmanliang 7072f91
Adds tests for 0 until offset
feynmanliang 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
could check for elements 0 until offset being set to 0