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

overlapping in rolling #776

Open
arashtavakoli opened this issue Nov 30, 2020 · 2 comments
Open

overlapping in rolling #776

arashtavakoli opened this issue Nov 30, 2020 · 2 comments

Comments

@arashtavakoli
Copy link

Hi,

This is a general question. I tried to look into the docs but I could not find this option. Is there an option that the features can be calculated with say 50% overlap between the windows? I believe currently the time step between the windows is one meaning that if I set the max time shift to some value, it only jumps one step after it reaches the max time shift. I don't think either of the max_timeshift or min does this.

@nils-braun
Copy link
Collaborator

Hi!
Thanks for the question.
The rolling_direction parameter can be used for this. If you set it to e.g. 3, it will produce a window every 3 time steps.
If you know the size beforehand, you can use this to calculate 50%.
(You might get some problems at the edges, but these can be done manually)

@nils-braun
Copy link
Collaborator

@arashtavakoli Did that solve your problem?

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