Learn R Programming

rtemis (version 0.79)

d.ICA: Independent Component Analysis

Description

Perform ICA decomposition using the fastICA algorithm in fastICA::fastICA or ica::fastica

Usage

d.ICA(x, k = 3, package = c("fastICA", "ica"), alg.type = "parallel",
  maxit = 100, scale = TRUE, center = TRUE, verbose = TRUE,
  trace = 0, ...)

Arguments

x

Input data

k

Integer vector of length 1 or greater. Rank of decomposition

package

String: Which package to use for ICA. "fastICA" will use fastICA::fastICA, "ica" will use ica::fastica. Default = "fastICA". Note: only fastICA works with k = 1

alg.type

String: For package = "fastICA", "parallel" or "deflation". Default = "parallel"

maxit

Integer: Maximum N of iterations

scale

Logical: If TRUE, scale input data before decomposition. Default = TRUE

center

Logical: If TRUE, also center input data if scale is TRUE. Default = TRUE

verbose

Logical: If TRUE, print messages to screen. Default = TRUE

...

Additional parameters to be passed to fastICA::fastICA or ica::icafast

Value

rtDecom object

Details

Project scaled variables to ICA components. Input must be n by p, where n represents number of cases, and p represents number of features. fastICA will be applied to the transpose of the n x p matrix. fastICA will fail if there are any NA values or constant features: remove them using preprocess

See Also

Other Decomposition: d.CUR, d.H2OAE, d.H2OGLRM, d.ISOMAP, d.KPCA, d.LLE, d.MDS, d.NMF, d.PCA, d.SPCA, d.SVD, d.TSNE, d.UMAP