Description Usage Arguments Details Value Examples
View source: R/modeltime_multibestmodel.R
this feature allows you to select the best model for each series, based on a specific evaluation metric.
1 2 3 4 5 6 | modeltime_multibestmodel(
.table,
.metric = NULL,
.minimize = TRUE,
.forecast = TRUE
)
|
.table |
'table_time**' tibble generated with the |
.metric |
evaluation metric, from |
.minimize |
boolean (default = TRUE), TRUE if the error metric should be minimized, FALSE in order to maximize it. |
.forecast |
boolean (default = TRUE), If it is TRUE, it indicates that the |
take the object 'table_time' from the output of the function modeltime_multifit()
,
and selects the best model based on the selected metric.
table_time tibble filtered by the best model.
1 2 3 4 5 6 7 8 | # Data
data_serie <- sknifedatar::table_time
# best_model_emae
sknifedatar::modeltime_multibestmodel(.table = data_serie$table_time,
.metric = "rmse",
.minimize = TRUE,
.forecast = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.