,
R/ica_funs.R
fICA.Rd
adapt_fast_ICA()
and fast_ICA2()
are wrappers for fICA::adapt_fICA and fICA::fICA that only run in C, and return a transposed
version
of the original estimated unmixing matrix in W, and the mixing matrix A,
consistent with the formulation X= S %*% A
, 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()
. In order to save memory, these wrappers do not
return the estimated
source components.
A matrix of data frame.
a list of functions containing the nonlinearities.
a list of functions containing the first derivatives of the nonlinearities.
defines the initial estimate of the unmixing matrix, see details.
convergence tolerance.
maximum number of iterations.
the nonlinearity, tanh by default, see details.
the first derivative of the nonlinearity, see details.
the integral function of the nonlinearity, see details.
a numeric matrix for the initial value of the algorithm
a positive integer for the number of initial values in symmetric algorithms, see details.
squared symmetric ("sym2"
), symmetric ("sym"
) or deflation-based ("def"
)
A list with the unmixing matrix W and the mixing matrix A.
Other ica methods:
fast_ICA()
,
ica_matrix_lst()