-
This is the definition/explanation of the features in the documentation: https://ts.gluon.ai/stable/tutorials/forecasting/extended_tutorial.html#Use-your-time-series-and-features
Could you please give some examples of each feature and how to use it in the estimator? Or confirm/ correct my assumptions. Also, would it matter if I input I am assuming that: What about the hour of the day, day of the week, month, or year? I read in other discussions that we should use them as
I don't think we need to enable anything in the estimator for the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hi @Msaleh87, On this folder you can check some of the time_feat scripts. Here you can see that gluonts creates some of these features automatically depending on time frame. For instance: If you set a 5 minute time frame, it will probably create these lags: lags = (
_make_lags_for_minute(offset.n)
+ _make_lags_for_hour(offset.n / 60)
+ _make_lags_for_day(offset.n / (60 * 24))
+ _make_lags_for_week(offset.n / (60 * 24 * 7))
) As well these features:
|
Beta Was this translation helpful? Give feedback.
Hi @Msaleh87,
Most of the time I just use
feat_dynamic_real
to specify temporal features andfeat_static_cat
to specify which category the target parameters belongs to. For instance, if I am analyzing sales from some specify SKU. Onfeat_static_cat
I would set each store, brand, city using labeled numeric variables. i.e [1, 1, 2]On this folder you can check some of the time_feat scripts. Here you can see that gluonts creates some of these features automatically depending on time frame. For instance:
If you set a 5 minute time frame, it will probably create these lags: