update.mars_multistep {finnts} | R Documentation |
Update parameter in custom mars model
Description
Update parameter in custom mars model
Usage
## 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,
...
)
Arguments
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 |
Value
Updated model
[Package finnts version 0.5.0 Index]