View source: R/finalize_deepar.R
Function to select best DeepAR based on chosen metric
1 2 3 4 5 6 7 8 9 | finalize_deepar(
accuracy_table,
id,
freq,
recipe,
splits,
epoch,
metric = "rmse"
)
|
accuracy_table |
Table from tune_deepar() |
id |
A quoted column name that tracks the GluonTS FieldName "item_id" |
freq |
A pandas timeseries frequency such as "5min" for 5-minutes or "D" for daily. |
recipe |
GluonTS recipe |
metric |
The metric used to choose the best model |
split |
objects |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.