fICA: Symmetric and Deflation-based FastICA Methods for Independent... In fICA: Classical, Reloaded and Adaptive FastICA Algorithms

Description

The symmetric and deflation-based FastICA methods for the independent component problem. The function estimates the unmixing matrix using a single nonlinearity g.

Usage

 1 2 fICA(X, g="tanh", dg=NULL, G=NULL, init=NULL, n.init = 1, method="sym2", inR=TRUE, eps=1e-06, maxiter=1000)

Arguments

 X a numeric data matrix. Missing values are not allowed. g the nonlinearity, tanh by default, see details. dg the first derivative of the nonlinearity, see details. G the integral function of the nonlinearity, see details. init a numeric matrix for the initial value of the algorithm n.init a positive integer for the number of initial values in symmetric algorithms, see details. method squared symmetric ("sym2"), symmetric ("sym") or deflation-based ("def")

.

 inR a logical which indicates whether R or C is used for computations, see details. eps convergence tolerance. maxiter maximum number of iterations.

Details

The deflation-based FastICA estimate depends on the initial value of the unmixing matrix. This is due to the fact that the algorithm does not always find the global maximum of the objective function, but it may stop to local maxima as well. Hence, the deflation-based FastICA estimate is affine equivariant only if the initial value is affine equivariant. Therefore, we recommend the use of reloaded_fICA or adapt_fICA.

The standard nonlinearities can be chosen by g="pow3", g="tanh" or g="gaus". These estimates can be computed either in R or in C (except the squared symmetric). In order to use some other nonlinearity, one has to give the nonlinearity and its derivative as functions (and the integral function when squared symmetric FastICA is computed), and the computations have to be performed in R.

If the symmetric or squared symmetric algorithm does not converge, one can choose n.init=k for some k>1. Then up to k random initial values are tried, and if none of them gives a convergent run of the algorithm, the function returns the matrix which gave the largest value of the objective function over all k\times maxiter steps.

Value

A list with class 'bss' containing the following components:

 W estimated unmixing matrix. g nonlinearity used. method symmetric or deflation-based. S estimated source components standardized to have mean 0 and unit variances.

Jari Miettinen

References

Hyvarinen, A. and Oja, E. (1997), A fast fixed-point algorithm for independent component analysis, Neural Computation, vol. 9, 1483–1492.

Miettinen, J., Nordhausen, K., Oja, H., Taskinen, S. and Virta, J. (2015), The squared symmetric FastICA estimator, Signal Processing, vol. 131, 402–411.