fe_pca: Feature Engineering PCA vector addition

Description Usage Arguments Value

View source: R/fe_pca.R

Description

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.

Usage

1
fe_pca(train, test, pca_var, pca_comp, mca_var, mca_comp)

Arguments

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)

Value

a list with finished two data tables


tw1118/myutilitypackage documentation built on May 16, 2019, 9:13 p.m.