powered by
low_variance_filter is for removing variables with repeated values up to a certain percentage.
low_variance_filter
low_variance_filter( dat, lvp = 0.97, only_NA = FALSE, note = FALSE, ex_cols = NULL )
A data frame with x and target.
The maximum percent of unique values (including NAs).
Logical, only process variables which NA's rate are more than lvp.
Logical.Outputs info.Default is TRUE.
A list of excluded variables. Default is NULL.
A data.frame
# NOT RUN { dat = low_variance_filter(lendingclub[1:1000, ], lvp = 0.9) # }
Run the code above in your browser using DataLab