-
I know that this might seems like a similar question, I read almost read all of the questions about this issue, and they look similar, but for some reason, I can't get it right. I tried to follow the documentation of the extended forecasting tutorial, but it's not clear at all. Here is my code:
After the last command I get the following error: GluonTSDataError: Array 'dynamic_feat' has bad shape - expected 2 dimensions, got 1. I am just trying to add one feature. Also, when I add a dynamic feature, do I need to make it's length = (target length + forecast length) or just the target length?So I fixed some of the initial mistakes, which is
Feat here is a time-stamped data frame with the feature only |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
My bad it should have been "feat_dynamic_real":[ Feat[:'2022-03-07 04:50:00']]. Was missing square brackets. |
Beta Was this translation helpful? Give feedback.
My bad it should have been "feat_dynamic_real":[ Feat[:'2022-03-07 04:50:00']]. Was missing square brackets.