LTI-Lib latest version v1.9 - last update 10 Apr 2010

lti::regularizedPCA< T > Class Template Reference

Almost a functor for computing a principal component analysis. More...

#include <ltiRegularizedPCA.h>

Inheritance diagram for lti::regularizedPCA< T >:
Inheritance graph
[legend]
Collaboration diagram for lti::regularizedPCA< T >:
Collaboration graph
[legend]

List of all members.

Classes

class  parameters
 the parameters for the class regularizedPCA More...

Public Member Functions

 regularizedPCA ()
 regularizedPCA (const regularizedPCA &other)
virtual ~regularizedPCA ()
const parametersgetParameters () const
virtual functorclone () const

Protected Member Functions

int checkDim ()

Detailed Description

template<class T>
class lti::regularizedPCA< T >

Almost a functor for computing a principal component analysis.

It receives a set of input vectors in form of a matrix (each row of the matrix corresponds to an input vector), which will be transformed with PCA.

The first time you use the apply()-method, the transformation matrix will be computed. You can use this transformation matrix with other data sets using the transform() methods.

Please note that the eigenvector matrices will contain the eigenvector in the COLUMNS and not in the rows, as could be expected. This avoids the requirement of transposing matrices in the vector transformations (see also lti::eigenSystem<T>).

The only difference to PCA is that this receives an additional parameter kappa which is used in dimensionality reductions. If kappa is greater than zero, we keep the dimensionality of the original space and set the insignificant eigenvalues to the value of the smallest significant one times kappa.


Constructor & Destructor Documentation

template<class T>
lti::regularizedPCA< T >::regularizedPCA (  ) 

default constructor

template<class T>
lti::regularizedPCA< T >::regularizedPCA ( const regularizedPCA< T > &  other  ) 

copy constructor

Parameters:
other the object to be copied
template<class T>
virtual lti::regularizedPCA< T >::~regularizedPCA (  )  [virtual]

destructor


Member Function Documentation

template<class T>
int lti::regularizedPCA< T >::checkDim (  )  [protected]

Determines the intrinsic dimensionality of the data set if the user specify autoDim, otherwise return parameters::resultDim.

The member usedDimensionality will be set with the returned value

Reimplemented from lti::principalComponents< T >.

template<class T>
virtual functor* lti::regularizedPCA< T >::clone (  )  const [virtual]

returns a pointer to a clone of this functor.

Reimplemented from lti::principalComponents< T >.

template<class T>
const parameters& lti::regularizedPCA< T >::getParameters (  )  const

returns used parameters

Reimplemented from lti::principalComponents< T >.


The documentation for this class was generated from the following file:

Generated on Sat Apr 10 15:28:38 2010 for LTI-Lib by Doxygen 1.6.1