View source: R/R_preprocessing.R
preprocess_training | R Documentation |
Perform preprocessing for the training data, including converting data to dataframe, and encoding categorical data into numerical representation.
preprocess_training(x, y)
x |
A data frame of all training predictors. |
y |
A vector of all training responses. |
A list of two datasets along with necessary information that encodes the preprocessing.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.