Description Usage Arguments Value
Apply PCA to a subset of the columns in a dataset
1 | pipe_pca(train, columns, pca_tol = 0.1, keep_old_columns = F)
|
train |
The train dataset, as a data.frame or data.table. Data.tables may be changed by reference. |
columns |
Columns to use in the PCA transformation. |
pca_tol |
The |
keep_old_columns |
Flag indicating if columns used to perform the PCA transformation should be kept. |
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.