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

A minor bug in sliding_window() #440

Closed
1 of 2 tasks
WenjieDu opened this issue Jun 20, 2024 · 0 comments
Closed
1 of 2 tasks

A minor bug in sliding_window() #440

WenjieDu opened this issue Jun 20, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@WenjieDu
Copy link
Owner

1. System Info

PyPOTS v0.6

2. Information

  • The official example scripts
  • My own created scripts

3. Reproduction

The calculation below is wrong

if total_len - start_indices[-1] * sliding_len < window_len:

4. Expected behavior

The last complete sample may get removed unexpectedly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant