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

Better support for batched/out-of-core computation #79

Closed
shoyer opened this issue Mar 21, 2014 · 3 comments
Closed

Better support for batched/out-of-core computation #79

shoyer opened this issue Mar 21, 2014 · 3 comments

Comments

@shoyer
Copy link
Member

shoyer commented Mar 21, 2014

One option: add a batch_apply method:

This would be a shortcut for split-apply-combine with groupby/apply if the grouping over a dimension is only being done for efficiency reasons.

This function should take several parameters:

  • The dimension to group over.
  • The batchsize to group over on this dimension (defaulting to 1).
  • The func to apply to each group.

At first, this function would be useful just to avoid memory issues. Eventually, it would be nice to add a n_jobs parameter which would automatically dispatch to multiprocessing/joblib. We would need to get pickling (issue #24) working first to be able to do this.

@shoyer shoyer changed the title TODO: Add a batch_apply method Better support for batched/out-of-core computation Apr 28, 2014
@shoyer
Copy link
Member Author

shoyer commented Jun 11, 2014

Related pandas issue: pandas-dev/pandas#5751

@jreback
Copy link

jreback commented Jun 11, 2014

FYI in the pointed to PR joblib does work (w/o dill actually). but IPython.parallel still is not working how I want it.

@shoyer
Copy link
Member Author

shoyer commented Sep 20, 2015

Closing in favor of #585

@shoyer shoyer closed this as completed Sep 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants