Description Usage Arguments Value Note Author(s) See Also
View source: R/tdmPreprocUtils.r
tdmPrePCA.train is capable of linear PCA, based on prcomp (which uses SVD), and of kernel PCA (either KPCA, KHA or KFA).
1 | tdmPrePCA.train(dset, opts)
|
dset |
the data frame with training (and test) data. |
opts |
a list from which we need here the following entries:
|
pca
, a list with entries:
dset |
the input data frame dset with columns numeric.variables replaced or extended (depending on |
numeric.variables |
the new numeric column names (PCs, monomials, and optionally old numericV, if |
pcaList |
a list with the items |
CAUTION: Kernel PCA (opts$PRE.PCA=="kernel") is currently disabled in code, it *crashes* for large number of records or large number of columns.
Wolfgang Konen, FHK, Mar'2011 - Jan'2012
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.