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

lti::linearDiscriminantAnalysis< T >::parameters Class Reference

the parameters for the class linearDiscriminantAnalysis More...

#include <ltiLDA.h>

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

List of all members.

Public Member Functions

 parameters ()
 parameters (const parameters &other)
 ~parameters ()
const char * getTypeName () const
parameterscopy (const parameters &other)
virtual functor::parametersclone () const
virtual bool read (ioHandler &handler, const bool complete=true)
virtual bool write (ioHandler &handler, const bool complete=true) const

Public Attributes

int resultDim
bool autoDim
bool useSVD

Detailed Description

template<class T>
class lti::linearDiscriminantAnalysis< T >::parameters

the parameters for the class linearDiscriminantAnalysis


Constructor & Destructor Documentation

template<class T >
lti::linearDiscriminantAnalysis< T >::parameters::parameters (  ) 

default constructor

Reimplemented from lti::linearAlgebraFunctor::parameters.

template<class T >
lti::linearDiscriminantAnalysis< T >::parameters::parameters ( const parameters other  ) 

copy constructor

Parameters:
other the parameters object to be copied

Reimplemented from lti::linearAlgebraFunctor::parameters.

template<class T >
lti::linearDiscriminantAnalysis< T >::parameters::~parameters (  )  [virtual]

destructor

Reimplemented from lti::linearAlgebraFunctor::parameters.


Member Function Documentation

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

returns a pointer to a clone of the parameters

Reimplemented from lti::linearAlgebraFunctor::parameters.

template<class T >
parameters& lti::linearDiscriminantAnalysis< T >::parameters::copy ( const parameters other  ) 

copy the contents of a parameters object

Parameters:
other the parameters object to be copied
Returns:
a reference to this parameters object

Reimplemented from lti::linearAlgebraFunctor::parameters.

template<class T >
const char* lti::linearDiscriminantAnalysis< T >::parameters::getTypeName (  )  const [virtual]

returns name of this type

Reimplemented from lti::linearAlgebraFunctor::parameters.

template<class T >
virtual bool lti::linearDiscriminantAnalysis< T >::parameters::read ( ioHandler handler,
const bool  complete = true 
) [virtual]

read the parametersfrom the given ioHandler

Parameters:
handler the ioHandler to be used
complete if true (the default) the enclosing begin/end will be also written, otherwise only the data block will be written.
Returns:
true if write was successful

Reimplemented from lti::linearAlgebraFunctor::parameters.

template<class T >
virtual bool lti::linearDiscriminantAnalysis< T >::parameters::write ( ioHandler handler,
const bool  complete = true 
) const [virtual]

write the parameters in the given ioHandler

Parameters:
handler the ioHandler to be used
complete if true (the default) the enclosing begin/end will be also written, otherwise only the data block will be written.
Returns:
true if write was successful

Reimplemented from lti::linearAlgebraFunctor::parameters.


Member Data Documentation

This flag determines, if the functor should determine a maximum allowable dimension itself.

"Maximum dimension" means that the dimension is equal to the number of eigenvalues of the covariance matrix which are larger than zero.

Default value: false

This is the dimension of the reduced vectors.

template<class T >
bool lti::linearDiscriminantAnalysis< T >::parameters::useSVD

If true, singular value decomposition instead of LU decomposition is used for inverting the Sw (within-class scatter) matrix.

This is much safer than the original method, since it always computes a meaningful result: for singular matrices, it computes the closest approximation.


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

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