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

Add naive random masking strategy for masking timeseries #565

Open
geek-yang opened this issue Apr 25, 2023 · 1 comment
Open

Add naive random masking strategy for masking timeseries #565

geek-yang opened this issue Apr 25, 2023 · 1 comment

Comments

@geek-yang
Copy link
Member

As a follow-up to PR #554, we can add a naive fully random masking strategy for masking timeseries. For instance, there are two simple ways for it:

  • Simply flatten the input data (from [timesteps, channels] to [timesteps * channels]) and mask them randomly
  • Loop through all channels and treat them individually (mask each channel separately and concatenate them)

These two strategies seem to be the approaches taken by "Lime-for-time" implementation. Given that this is a low-hanging fruit and we have no idea whether the smart masking works better than this simple masking or not, it is worth-while to add this.

@cwmeijer
Copy link
Member

cwmeijer commented Feb 6, 2024

This is already possible by setting the parameters correctly. This issue should be resolved by documenting this well in the right places and probably by using this naive approach as a default behavior.

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