control_stack: Control wrappers

control_stack_gridR Documentation

Control wrappers

Description

Supply these light wrappers as the control argument in a tune::tune_grid(), tune::tune_bayes(), or tune::fit_resamples() call to return the needed elements for use in a data stack. These functions will return the appropriate control grid to ensure that assessment set predictions and information on model specifications and preprocessors, is supplied in the resampling results object!

To integrate stack settings with your existing control settings, note that these functions just call the appropriate ⁠tune::control_*⁠ function with the arguments ⁠save_pred = TRUE, save_workflow = TRUE⁠.

Usage

control_stack_grid()

control_stack_resamples()

control_stack_bayes()

Value

A tune::control_grid, tune::control_bayes, or tune::control_resamples object.

See Also

See example_data for examples of these functions used in context.


stacks documentation built on Nov. 6, 2023, 5:08 p.m.