InfomaxICA Class Reference

Infomax ICA. More...

Collaboration diagram for InfomaxICA:
[legend]

List of all members.

Public Member Functions

void applyICA (const Matrix &dataset)
 Sphere the data, apply ica.
void displayMatrix (const Matrix &m)
 Simple display matrix function.
void displayVector (const Vector &m)
 Simple display vector function.
void evaluateICA ()
 Run infomax.
void getSources (const Matrix &dataset, Matrix &s)
 Return the source estimates, S.
void getUnmixing (Matrix &w)
 Return the current unmixing matrix estimate.
 InfomaxICA (double lambda, int B, double epsilon)
 InfomaxICA ()
 Dummy constructor.
void setB (const int b)
void setEpsilon (const double epsilon)
void setLambda (const double lambda)

Friends

class TestInfomaxICA

Detailed Description

Infomax ICA.

Given an observation matrix and input parameters, return the corresponding unmixming matrix, W. Exmaple use:

   InfomaxICA *ica = new InfomaxICA(lambda, B, epsilon);
   Matrix west;
   ica->applyICA(dataset);  
   ica->getUnmixing(west);

Definition at line 87 of file infomax_ica.h.


Constructor & Destructor Documentation

InfomaxICA::InfomaxICA (  ) 

Dummy constructor.

Definition at line 46 of file infomax_ica.cc.


Member Function Documentation

void InfomaxICA::applyICA ( const Matrix &  dataset  ) 

Sphere the data, apply ica.

This is the first function to call after initializing the variables.

Definition at line 61 of file infomax_ica.cc.

References GenMatrix< T >::Copy(), and evaluateICA().

void InfomaxICA::displayMatrix ( const Matrix &  m  ) 

Simple display matrix function.

Definition at line 274 of file infomax_ica.cc.

void InfomaxICA::displayVector ( const Vector m  ) 

Simple display vector function.

Definition at line 287 of file infomax_ica.cc.

References GenVector< T >::length().

void InfomaxICA::evaluateICA (  ) 

Run infomax.

Call this after initialization and applyICA.

Definition at line 85 of file infomax_ica.cc.

References linalg__private::AddTo(), and linalg__private::Scale().

Referenced by applyICA().

void InfomaxICA::getSources ( const Matrix &  dataset,
Matrix &  s 
)

Return the source estimates, S.

S is a reference to an uninitialized matrix.

Definition at line 307 of file infomax_ica.cc.

void InfomaxICA::getUnmixing ( Matrix &  w  ) 

Return the current unmixing matrix estimate.

Requires a reference to an uninitialized matrix.

Definition at line 299 of file infomax_ica.cc.


The documentation for this class was generated from the following files:
Generated on Mon Jan 24 12:04:40 2011 for FASTlib by  doxygen 1.6.3