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

multiprocessing rolling window functions #66

Closed
randomgambit opened this issue Oct 17, 2018 · 7 comments
Closed

multiprocessing rolling window functions #66

randomgambit opened this issue Oct 17, 2018 · 7 comments

Comments

@randomgambit
Copy link

Hi there!

I was thinking: can tsibble be parallelized? There is the furrr package that could be used, but I wonder if this is compatible with tsibble. The resulting syntax might be a bit horrible...

What do you think?

@earowang
Copy link
Member

The window functions can be parallelised, since the backend is purrr::map. It may be easier for furrr to support parallelised versions of rolling window functions, since it's already had the functionalities, for example future_map.

@randomgambit
Copy link
Author

thanks. yes I get that the backed is map but you are using regular old purrr::map and not furrr:future_map. Are you saying that using future_map that itself calls the windows functions will work in parallel?

@earowang
Copy link
Member

earowang commented Oct 19, 2018 via email

@randomgambit
Copy link
Author

@earowang OK I am going to create a request in furrr and cross reference this issue. THanks!

@earowang earowang reopened this Dec 10, 2018
@earowang earowang changed the title multiprocessing in tsibble multiprocessing tolling window functions Dec 10, 2018
@earowang earowang changed the title multiprocessing tolling window functions multiprocessing rolling window functions Dec 10, 2018
@earowang
Copy link
Member

All rolling window functions now have their parallel-processing counterparts, with future_ prefixed.

@randomgambit
Copy link
Author

well done bro. i ll try that asap

@earowang
Copy link
Member

You may want to close the issue on furrr.

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

2 participants