update.mars_multistep: Update parameter in custom mars model

View source: R/multistep_mars.R

update.mars_multistepR 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


microsoft/finnts documentation built on Oct. 30, 2024, 9:34 p.m.