This function helps us preprocess data automatically.
auto_preprocess(df, num2fac = 7, impute = FALSE, ohe = FALSE,
scale = FALSE, logs = FALSE, print = FALSE)
Dataframe. Dataframe to format, transform and input
Integer. Threshold for unique values on a numerical variable to transform into factor
Boolean. One hot encoding on variables with 3 or more cateogries?
Boolean. Scale the data (normalized)
Boolean. Automatically calculate log(values) for numerical variables (not binaries)
Boolean. Print results summary