66#include <itpp/itexports.h>
69#define FICA_APPROACH_DEFL 2
71#define FICA_APPROACH_SYMM 1
74#define FICA_NONLIN_POW3 10
76#define FICA_NONLIN_TANH 20
78#define FICA_NONLIN_GAUSS 30
80#define FICA_NONLIN_SKEW 40
83#define FICA_INIT_RAND 0
85#define FICA_INIT_GUESS 1
183 void set_a1(
double fl_a1);
192 void set_a2(
double fl_a2);
201 void set_mu(
double fl_mu);
359 int approach, numOfIC, g, initState;
360 bool finetune, stabilization, PCAonly;
361 double a1, a2, mu, epsilon, sampleSize;
362 int maxNumIterations, maxFineTune;
364 int firstEig, lastEig;
368 mat mixedSig, A, W, icasig;
371 mat dewhiteningMatrix;
mat get_white_sig()
Get whitened signals.
Fast_ICA(mat ma_mixed_sig)
Constructor.
void set_init_guess(mat ma_initGuess)
Set initial guess matrix instead of random (default)
mat get_dewhitening_matrix()
Get the de-whitening matrix.
void set_mu(double fl_mu)
Set parameter.
void set_a1(double fl_a1)
Set parameter.
void set_approach(int in_approach)
Set approach : FICA_APPROACH_DEFL or FICA_APPROACH_SYMM (default)
void set_max_fine_tune(int in_maxFineTune)
Set maximum number of iterations for fine tuning.
void set_pca_only(bool in_PCAonly)
If true, only perform Principal Component Analysis (default = false)
void set_a2(double fl_a2)
Set parameter.
bool separate(void)
Explicit launch of main FastICA function.
mat get_independent_components()
Get separated signals.
void set_first_eig(int in_firstEig)
Set first eigenvalue index to take into account.
void set_sample_size(double fl_sampleSize)
Set sample size.
void set_non_linearity(int in_g)
Set non-linearity.
mat get_mixing_matrix()
Get mixing matrix.
void set_epsilon(double fl_epsilon)
Set convergence parameter .
mat get_whitening_matrix()
Get the whitening matrix.
void set_max_num_iterations(int in_maxNumIterations)
Set maximum number of iterations.
void set_last_eig(int in_lastEig)
Set last eigenvalue index to take into account.
void set_stabilization(bool in_stabilization)
Set stabilization mode true or off.
mat get_separating_matrix()
Get separating matrix.
mat get_principal_eigenvectors()
Get nrIC first columns of the de-whitening matrix.
void set_fine_tune(bool in_finetune)
Set fine tuning.
int get_nrof_independent_components()
Get number of independent components.
void set_nrof_independent_components(int in_nrIC)
Set number of independent components to separate.
Matrix Class Definitions.