Extract model by model id in a Modeltime Table
Source:R/helpers-modeltime_table.R
pluck_modeltime_model.Rd
The pull_modeltime_model()
and pluck_modeltime_model()
functions are synonymns.
Usage
pluck_modeltime_model(object, .model_id)
# S3 method for class 'mdl_time_tbl'
pluck_modeltime_model(object, .model_id)
pull_modeltime_model(object, .model_id)
See also
combine_modeltime_tables()
: Combine 2 or more Modeltime Tables togetheradd_modeltime_model()
: Adds a new row with a new model to a Modeltime Tabledrop_modeltime_model()
: Drop one or more models from a Modeltime Tableupdate_modeltime_description()
: Updates a description for a model inside a Modeltime Tableupdate_modeltime_model()
: Updates a model inside a Modeltime Tablepull_modeltime_model()
: Extracts a model from a Modeltime Table
Examples
m750_models %>%
pluck_modeltime_model(2)
#> ══ Workflow [trained] ══════════════════════════════════════════════════════════
#> Preprocessor: Recipe
#> Model: prophet_reg()
#>
#> ── Preprocessor ────────────────────────────────────────────────────────────────
#> 6 Recipe Steps
#>
#> • step_timeseries_signature()
#> • step_rm()
#> • step_normalize()
#> • step_dummy()
#> • step_fourier()
#> • step_rm()
#>
#> ── Model ───────────────────────────────────────────────────────────────────────
#> PROPHET Model
#> - growth: 'linear'
#> - n.changepoints: 25
#> - changepoint.range: 0.8
#> - yearly.seasonality: 'auto'
#> - weekly.seasonality: 'auto'
#> - daily.seasonality: 'auto'
#> - seasonality.mode: 'additive'
#> - changepoint.prior.scale: 0.05
#> - seasonality.prior.scale: 10
#> - holidays.prior.scale: 10
#> - logistic_cap: NULL
#> - logistic_floor: NULL
#> - extra_regressors: 0