Description Usage Arguments Value
View source: R/correlation_removal.R
Removes highly correlated features whilst keeping as many as possible, using heuristics.
1 2 | pipe_remove_high_correlation_features(train,
exclude_columns = character(0), threshold = 0.8)
|
train |
The train dataset, as a data.frame or data.table. Data.tables may be changed by reference. |
exclude_columns |
Columns that should not be considered for removal. |
threshold |
If the correlation is between two columns is larger than this, both will be considered for removal |
A list containing the transformed train dataset and a trained pipe.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.