fast_ICA | R Documentation |
fast_ICA()
is a wrapper for fastICA::fastICA, with different defaults (runs in C, maximum iteration = 1000, tolerance = 1e-04, verbose), and that throws a warning in case of non-convergence. It returns an estimated unmixing matrix W (equivalent to the original K %*% W
), and the mixing matrix A, consistent with the formulation X= S %*% A
, and X %*% W = S
where X is the matrix of data with N_samples by N_channels, and S is a matrix of sources with N_samples by N_sources. They are meant to be used with eeg_ica()
.
fast_ICA(
X,
n.comp = NULL,
alg.typ = "parallel",
fun = "logcosh",
alpha = 1,
method = "C",
row.norm = FALSE,
maxit = 1000,
tol = 1e-06,
w.init = NULL
)
X |
A matrix or data frame. |
n.comp |
number of components to be extracted |
alg.typ |
if |
fun |
the functional form of the |
alpha |
constant in range [1, 2] used in approximation to
neg-entropy when |
method |
if |
row.norm |
a logical value indicating whether rows of the data
matrix |
maxit |
maximum number of iterations to perform. |
tol |
a positive scalar giving the tolerance at which the un-mixing matrix is considered to have converged. |
w.init |
Initial un-mixing matrix of dimension
|
A list with the unmixing matrix W and the mixing matrix A.
Other ica methods:
fICA
,
ica_matrix_lst()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.