Description Usage Arguments Value See Also
Sets the function responsible for preprocessing the data.
1 | set_preprocess(preprocess = NULL, algorithm)
|
preprocess |
A function; the function for preprocessing the data. Defaults to NULL. |
algorithm |
A character vector of length one; the algorithm to run on the data. Choices are one of c("glmnet", "random_forest", "support_vector_machine"). |
A function; the function for preprocessing 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_random_state
,
set_resample
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.