Description Usage Arguments Value
This function will take in data and add pca feature engineering (PC components) to the original table. For categorical variables, MCA will be applied for feature reduction.
1 | fe_pca(train, test, pca_var, pca_comp, mca_var, mca_comp)
|
a |
train data table |
a |
test data table |
ratio |
of variance explained (pca) |
a |
number of components to be used (pca) |
ratio |
of variace explained (mca) |
a |
number of components to be used (mca) |
a list with finished two data tables
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.