Skip to content
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

example with future and parallel CV? #17

Closed
osofr opened this issue Jun 28, 2017 · 3 comments
Closed

example with future and parallel CV? #17

osofr opened this issue Jun 28, 2017 · 3 comments
Assignees

Comments

@osofr
Copy link

osofr commented Jun 28, 2017

Is it possible to provide a quick working example for parallel CV evaluation using future back-end?

Presumably, parallel CV is working? If its not implemented yet, I am happy to close this issue, thanks so much!

@jeremyrcoyle
Copy link
Collaborator

jeremyrcoyle commented Jun 29, 2017

Aside from the other issue you opened (#16), it's working. We've been pointing people to Henrik's future documentation here: https://github.com/HenrikBengtsson/future , as parallelizing origami is now just a matter of specifying a future plan. @ck37 also requested a parallel example though, so maybe it's worth having a minimal one, just so people can get a sense of how it works before reading more in depth about Henrik's package.

@nhejazi, can you adapt the code here: https://github.com/jeremyrcoyle/origami/blob/master/tests/testthat/test_future_plan.R into an example? At some point, it might also be worth demonstrating that cv_funs themselves can create futures, and therefore we can do nested parallelization as in this example: https://github.com/HenrikBengtsson/future#nested-futures-and-evaluation-topologies This will be the mechanism by which the new origami_Superlearner parallelizes across folds and learners.

@osofr
Copy link
Author

osofr commented Jun 29, 2017 via email

@nhejazi
Copy link
Member

nhejazi commented Jul 13, 2017

@jeremyrcoyle - The test has been modified (with practically minimal changes) as an example in the cross_validate function here as of cf2407a. I'm going to close this issue; feel free to re-open.

@nhejazi nhejazi closed this as completed Jul 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants