-
Notifications
You must be signed in to change notification settings - Fork 29k
SPARK-1310: Start adding k-fold cross validation to MLLib [adds kFold to MLUtils & fixes bug in BernoulliSampler] #18
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
Closed
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
a751ec6
Add k-fold cross validation to MLLib
holdenk 08f8e4d
Fix BernoulliSampler to respect complement
holdenk c0b7fa4
Switch FoldedRDD to use BernoulliSampler and PartitionwiseSampledRDD
holdenk dd0b737
Wrap long lines (oops)
holdenk 264502a
Add a test for the bug that was found with BernoulliSampler not copyi…
holdenk 91eae64
Consolidate things in mlutils
holdenk b78804e
Remove cross validation [TODO in another pull request]
holdenk e8741a7
CR feedback
holdenk 5a33f1d
Code review follow up.
holdenk 163c5b1
code review feedback 1.to -> 1 to and folds -> numFolds
holdenk bb5fa56
extra line sadness
holdenk 7ebe4d5
CR feedback, remove unecessary learners (came back during merge mista…
holdenk c5b723f
clean up
holdenk e187e35
Move { up to same line as whenExecuting(random) in RandomSamplerSuite…
holdenk c702a96
Fix imports in MLUtils
holdenk 2cb90b3
Fix the names in kFold
holdenk 150889c
Fix up error messages in the MLUtilsSuite
holdenk 90896c7
New line
holdenk 7157ae9
CR feedback
holdenk 6ddbf05
swap training and validation order
holdenk e84f2fc
Fix the test, we should be looking at the second element instead
holdenk 208db9b
Fix a bad space
holdenk 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
Fix BernoulliSampler to respect complement
- Loading branch information
commit 08f8e4d930e1d9f68f06783dd87f9076bb6fb1a7
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
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.
Add return type.