fastICA C implementation
Martin Tùma
libICA is an C library that implements the FastICA [1] algorithm for Independent Component Analysis (ICA). It is based on the CRAN fastICA [2] package for R.
#include <libICA.h>
void fastICA(double** X, int rows, int cols,
int compc, double** K, double** W,
double** A, double** S);
Parametes:
libICA uses the parallel scheme in which the components are estimated simultaneously and the logcosh() function with alpha = 1 for the approximation to neg-entropy. See the CRAN fastICA manual [3] for details.
The sources contain an simple example program named fastICA
which uses the library as well as sample data, which are equivalent to the
CRAN fastICA example #2.
libICA is distributed under the GPL v.2 license.
[1]
http://www.cis.hut.fi/projects/ica/fastica/
[2]
http://cran.r-project.org/src/contrib/Descriptions/fastICA.html
[3]
http://cran.r-project.org/doc/packages/fastICA.pdf
libICA.tar.bz2 - libICA library