-
Notifications
You must be signed in to change notification settings - Fork 3
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
Features/new nn functionality #21
base: main
Are you sure you want to change the base?
Conversation
CycleNet and PatchTST
Reproducibility
…multiprocessing) for NN
…features after generate)
num_series = data["num_series"] if self.pipeline.multivariate else 1 | ||
|
||
target_idx = target_idx.reshape(num_series, -1, self.horizon) # .shape) | ||
pred = pred.reshape(num_series, -1, self.horizon) | ||
|
||
target_idx = target_idx[:, :pred.shape[1]] | ||
|
||
dataset.data.loc[target_idx.reshape(-1), dataset.target_column] = pred.reshape(-1) | ||
dataset.data.dropna(inplace=True) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It works only when we use MIMOStrategy. In Recursive strategy you can't reshape to self.horizon
import torch | ||
import torch.nn as nn |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't import without install torch. There is the same problem in other modules with DL models.
new nn functionality