View source: R/helpers-modeltime_table.R
update_modeltime_model | R Documentation |
Update the model by model id in a Modeltime Table
update_modeltime_model(object, .model_id, .new_model)
object |
A Modeltime Table |
.model_id |
A numeric value matching the .model_id that you want to update |
.new_model |
A fitted workflow, model_fit, or mdl_time_ensmble object |
combine_modeltime_tables()
: Combine 2 or more Modeltime Tables together
add_modeltime_model()
: Adds a new row with a new model to a Modeltime Table
drop_modeltime_model()
: Drop one or more models from a Modeltime Table
update_modeltime_description()
: Updates a description for a model inside a Modeltime Table
update_modeltime_model()
: Updates a model inside a Modeltime Table
pull_modeltime_model()
: Extracts a model from a Modeltime Table
library(tidymodels)
model_fit_ets <- exp_smoothing() %>%
set_engine("ets") %>%
fit(value ~ date, training(m750_splits))
m750_models %>%
update_modeltime_model(1, model_fit_ets)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.