Description Usage Arguments Examples
View source: R/variable_selection.R
PCA_reduce
is used for PCA reduction of high demension data .
1 | PCA_reduce(train = train, test = NULL, mc = 0.9)
|
train |
A data.frame with independent variables and target variable. |
test |
A data.frame of test data. |
mc |
Threshold of cumulative imp. |
1 2 3 4 5 6 | ## Not run:
num_x_list = get_names(dat = UCICreditCard, types = c('numeric'),
ex_cols = "ID$|date$|default.payment.next.month$", get_ex = FALSE)
PCA_dat = PCA_reduce(train = UCICreditCard[num_x_list])
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.