The data being passed to the function. The time-series object.
.rec_obj
This is the recipe object you want to use. You can use
hai_cubist_data_prepper() an automatic recipe_object.
.splits_obj
NULL is the default, when NULL then one will be created.
.rsamp_obj
NULL is the default, when NULL then one will be created. It
will default to creating an rsample::mc_cv() object.
.tune
Default is TRUE, this will create a tuning grid and tuned workflow
.grid_size
Default is 10
.num_cores
Default is 1
.best_metric
Default is "rmse". The only .model_type you can use with
Cubist is regression so use hai_default_regression_metric_set()
to get the available metrics. Because of this the .model_type parameter is
omitted from this function.
Author
Steven P. Sanderson II, MPH
Details
This uses the parsnip::cubist_rules() with the engine set to cubist