Closed vidarsumo closed 2 years ago
Hello @vidarsumo
As your tft_dataset_spec()
includes known
covariates, you must provide them for the model to train. So the minimum number of observations must be lookback + horizon.
So in your example, if you configure date_filter <- "2012-01-28"
, you will get n = 104
observation for each id
and you will be able to instantiate the model.
How is the minimum number of observation determined?
Here I have 91 observation per ID with lookback = 52.