-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Partial fix to techascent/tech.ml.dataset#155
- Loading branch information
Showing
3 changed files
with
33 additions
and
2 deletions.
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
129d935
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.
@daslu - This changelist I think is relevant to your interests.
I first tried using
java.util.Collections/shuffle
on a buffer and it failed because my generalized implementation of set wasn't correct. Fixes that at the java interface definition level transitively fixed it on every single container that supports read/write.I then implemented an
arg
method that does the repeatable shuffle in index space so that enables all readers (like dataset columns) to be repeatedly shuffled in-place via the indexed-reader pathway.129d935
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.
@cnuernber many thanks, that is great.
Much better than the usual habit of actually shuffling the data in all columns!