-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Persist intermediate data to avoid non-determinism caused by Spark la…
…zy random evaluation (#1676) * Generate random number independent of the data to be splitted * Persist intermediate Spark data frame to avoid errors caused by lazy evaluation * Typos: e.g -> e.g. * Compact code * Add intersection tests for spark_stratified_split * Add comments * Drop duplicate data in tests
- Loading branch information
1 parent
17204b1
commit d43e2c1
Showing
2 changed files
with
25 additions
and
7 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