View source: R/multistep_mars.R
update.mars_multistep | R Documentation |
Update parameter in custom mars model
## S3 method for class 'mars_multistep'
update(
object,
parameters = NULL,
num_terms = NULL,
prod_degree = NULL,
prune_method = NULL,
lag_periods = NULL,
external_regressors = NULL,
forecast_horizon = NULL,
selected_features = NULL,
fresh = FALSE,
...
)
object |
model object |
parameters |
parameters |
num_terms |
The number of features that will be retained in the final model, including the intercept. |
prod_degree |
The highest possible interaction degree. |
prune_method |
The pruning method. |
lag_periods |
lag periods |
external_regressors |
external regressors |
forecast_horizon |
forecast horizon |
selected_features |
selected features |
fresh |
fresh |
... |
extra args passed to mars |
Updated model
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.