Skew lines

From formulasearchengine
Revision as of 15:18, 16 January 2014 by en>Gilliam (Reverted edits by 49.144.214.74 (talk) to last version by ClueBot NG)
Jump to navigation Jump to search

Template:One source FastICA is an efficient and popular algorithm for independent component analysis invented by Aapo Hyvärinen at Helsinki University of Technology.[1][2] The algorithm is based on a fixed-point iteration scheme maximizing non-Gaussianity as a measure of statistical independence. It can also be derived as an approximative Newton iteration.

Algorithm

Preprocess the data

Before the FastICA algorithm can be applied, the input vector data x should be centered and whitened.

Centering the data

The input data x is centered by computing the mean of each component of x and subtracting that mean. This has the effect of making each component have zero mean. Thus:

xxE{x}

Whitening the data

Whitening the data involves linearly transforming the data so that the new components are uncorrelated and have variance one. If x~ is the whitened data, then the covariance matrix of the whitened data is the identity matrix:

E{x~x~T}=I

This can be done using eigenvalue decomposition of the covariance matrix of the data: E{xxT}=EDET, where E is the matrix of eigenvectors and D is the diagonal matrix of eigenvalues. Once eigenvalue decomposition is done, the whitened data is:

xED1/2ETx

Single component extraction

The iterative algorithm finds the direction for the weight vector w maximizing the non-Gaussianity of the projection wTx for the data x. The function g(u) is the derivative of a nonquadratic nonlinearity function f(u). Hyvärinen states that good equations for f (shown with their derivatives g and second derivatives g') are:

f(u)=logcosh(u);g(u)=tanh(u);g(u)=1tanh2(u)f(u)=eu2/2;g(u)=ueu2/2;g(u)=(1u2)eu2/2

The first equation is a good general-purpose equation, while the second is highly robust.

  1. Randomize the initial weight vector w
  2. Let w+E{xg(wTx)}E{g(wTx)}w, where E{...} means averaging over all column-vectors of matrix X
  3. Let ww+/w+
  4. If not converged, go back to 2

Multiple component extraction

The single unit iterative algorithm only estimates one of the independent components, to estimate more the algorithm must repeated, and the projection vectors decorated. Although Hyvärinen provides several ways of decorating results the simplest multiple unit algorithm follows. 1 indicates a column vector of 1's with dimension M.

Algorithm FastICA

Input: C Number of desired components
Input: XN×M Matrix, where each column represents an N-dimensional sample, where C<N
Output: WC×N Un-mixing matrix where each row projects X onto into independent component.
Output: SC×M Independent components matrix, with M columns representing a sample with C dimensions.
for p in 1 to C:
    wp Random vector of length N
    while wp changes
        wp1MXg(wpTX)1Mg(wpTX)1wp
        wpwpj=1p1wpTwjwj
        wpwpwp
Output: W=[w1wC]
Output: S=WX

See also

References

43 year old Petroleum Engineer Harry from Deep River, usually spends time with hobbies and interests like renting movies, property developers in singapore new condominium and vehicle racing. Constantly enjoys going to destinations like Camino Real de Tierra Adentro.

External links