Ada Puślecka
08/24/2023, 7:17 PMy
values)? In the documentation it says that I can do this using futr_df
and supplying to it "DataFrame with [unique_id
, ds
]", however whenever I try to predict with nf.predict(futr_df=futr_df)
with futr_df
having only unique_id
and ds
columns it gives all NaNs (and when I add y
column it works fine, but obviously at prediction time you don't have the y
column)Cristian (Nixtla)
08/24/2023, 7:18 PMfutr_df
its only for the future exogenous variables. To pass new data, use the df
argument of the predict
method. The forecasts will correspond to the future after the last timestamps of the new data. df
should contain historic values of all the variables used during training, including the target variable y
and historic exogenous covariates.y
, it must be present in the new data. To train a model that only depends on exogenous covariates you need to set exclude_insample_y=True
when instantiating the model.Ada Puślecka
08/25/2023, 7:22 AMCristian (Nixtla)
08/25/2023, 11:57 AMStemGNN
). Since the unique_id
is not used by the model, you can pass any new data you want, including new time series.