View source: R/trans_feature_selection_corr.R
| feature_selection_corr | R Documentation |
Remove highly correlated numeric features based on a correlation cutoff.
feature_selection_corr(cutoff = 0.9)
cutoff |
correlation cutoff in [0, 1] above which one feature is removed |
Uses caret::findCorrelation on the correlation matrix computed from numeric columns.
returns an object of class feature_selection_corr
data(iris)
fs <- feature_selection_corr(cutoff = 0.9)
fs <- fit(fs, iris)
iris_fs <- transform(fs, iris)
names(iris_fs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.