Sets the function responsible for resampling the data.
set_resample(resample = NULL, family = NULL)
resample | A function; the function for resampling the data. Defaults to NULL. |
---|---|
family | A character vector of length one; the type of regression to run on the data. Choices are one of c("gaussian", "binomial"). Defaults to "gaussian". |
A function; the function for resampling the data.
Other setters: set_categorical_variables
,
set_column_names
, set_cores
,
set_dependent_variable
,
set_independent_variables
,
set_looper_
, set_looper
,
set_measure
, set_parallel
,
set_plot_model_performance
,
set_plot_predictions
,
set_preprocess
,
set_random_state