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

Why does NHiTS need the target variable specified in the time_varying_unknown_reals attribute? #1496

Open
TeodorChiaburu opened this issue Jan 22, 2024 · 1 comment

Comments

@TeodorChiaburu
Copy link

I was wondering why do I need to specify the target variable twice, when building a TimeSeriesDataset for a NHiTS? Once for the attribute 'target' and once for 'time_varying_unknown_reals'. If I don't specify it for the second attribute, I get a ValueError: [target_name] is not in list.

@KunzstBGR
Copy link

I discovered the same and would be interested in an answer. Is the N-HiTS architecture built in a way that the target has to be also an input (e.g. to predict rainfall I need historical rainfall values)?
Other algorithms such as TFT can predict a target without having this variable as an input.

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

No branches or pull requests

2 participants