Conduct preprocessing processes
preprocessing(data, y, type, advanced = FALSE, verbose = FALSE)
A data source, that is one the of major R formats: data.table, data.frame, matrix, and so on.
A string that indicates a target column name.
A string that determines if Machine Learning task is the `binary_clf` or `regression`.
A logical value describing, whether the user wants to use advanced preprocessing methods (deleting correlated values).
A logical value, if set to TRUE, provides all information about the process, if FALSE gives none.
A preprocessed dataset.
data(compas)
prep_data <- preprocessing(compas,'Two_yr_Recidivism', 'binary_clf')
#> Error in if (advanced) { del_cor <- delete_correlated_values(pre_data, y, verbose = verbose) pre_data <- del_cor$data pre_data <- delete_id_columns(pre_data) pre_data <- boruta_selection(pre_data, y)}: argument is not interpretable as logical