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

Features/new nn functionality #21

Open
wants to merge 39 commits into
base: main
Choose a base branch
from
Open

Conversation

elineii
Copy link
Collaborator

@elineii elineii commented Feb 6, 2025

new nn functionality

@elineii elineii requested a review from aayugay99 February 6, 2025 13:48
Comment on lines +186 to +194
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)
Copy link
Collaborator Author

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

Comment on lines +1 to +2
import torch
import torch.nn as nn
Copy link
Collaborator Author

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.

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

Successfully merging this pull request may close these issues.

2 participants