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

Current non-stationary normalization may result in NaN values #265

Closed
1 of 2 tasks
WenjieDu opened this issue Dec 11, 2023 · 0 comments · Fixed by #266
Closed
1 of 2 tasks

Current non-stationary normalization may result in NaN values #265

WenjieDu opened this issue Dec 11, 2023 · 0 comments · Fixed by #266
Assignees
Labels
bug Something isn't working
Milestone

Comments

@WenjieDu
Copy link
Owner

1. System Info

The current implementation of non-stationary normalization from the official TimesNet code will result in NaN values when missing rate is high, e.g. >0.8. We need to add a small number to avoid dividing by 0.

https://github.com/WenjieDu/PyPOTS/blob/main/pypots/imputation/timesnet/modules/core.py#L55-L64

2. Information

  • The official example scripts
  • My own created scripts

3. Reproduction

pass

4. Expected behavior

Nan values in model output.

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
1 participant