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

Unexpected Requirement for Prediction Horizon Feature Values with use_feat_dynamic_real=True in Predict Function #3101

Open
gokhankoc90 opened this issue Jan 8, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@gokhankoc90
Copy link

Description

In my setup, I have begun using use_feat_dynamic_real=True and have included one feature. Training and back-testing using historical features proceed without issues. However, an error occurs during prediction when only historical features are supplied, without providing their future values. The error indicates that dimensions 0 and 2 must be of the same size. Here, dimension 0 appears to include the context step size plus the prediction step, whereas dimension 2 only contains the feature values that correspond to the context step size.
Steps to Reproduce

Execute prediction with at least one dynamic feature, ensuring that only historical feature data is provided. Do not supply future values of the feature, and refrain from methods such as forward-filling or zero-filling.
Error Message or Code Output

Environment

Operating System: Debian 12
Python Version: 3.11.6
GluonTS Version: Latest
MXNet Version: Latest
@gokhankoc90 gokhankoc90 added the bug Something isn't working label Jan 8, 2024
@gokhankoc90
Copy link
Author

As I delved further, I realized that the same problem has existed since 2021 and was requested as a new feature called past_feat_dynamic_real (#1757).

It's surprising that such a mission-critical feature has not been completed in 3 years.

I'm questioning if DeepAR can be effectively utilized at all without this feature being added...

Could someone clarify if I've misunderstood something?

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