Description Usage Arguments Examples
View source: R/core-to_gluon_list_dataset.R
A ListDataset is the format required by GluonTS
. This function
simplifies creating a GluonTS
ListDataset.
1 | to_gluon_list_dataset(data, date_var, value_var, id_var = NULL, freq = "D")
|
data |
A data.frame |
date_var |
The date column (Timestamps) |
value_var |
The value column (Target) |
id_var |
The Time Series ID column for tracking time series in GluonTS |
freq |
the Pandas Timestamp Frequency. |
1 2 3 4 5 6 7 8 9 | library(timetk)
m4_daily %>%
to_gluon_list_dataset(
date_var = date,
value_var = value,
id_var = id,
freq = "D"
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.