latest version v1.9 - last update 10 Apr 2010 |
the parameters for the class linearRegression More...
#include <ltiLinearRegression.h>
Public Member Functions | |
parameters () | |
parameters (const parameters &other) | |
~parameters () | |
const char * | getTypeName () const |
parameters & | copy (const parameters &other) |
parameters & | operator= (const parameters &other) |
virtual functor::parameters * | clone () const |
virtual bool | read (ioHandler &handler, const bool complete=true) |
virtual bool | write (ioHandler &handler, const bool complete=true) const |
Public Attributes | |
int | eigenSystemDim |
the parameters for the class linearRegression
lti::linearRegression< T >::parameters::parameters | ( | void | ) | [inline] |
default constructor
Reimplemented from lti::linearAlgebraFunctor::parameters.
Reimplemented in lti::linearRegressionTracking::parameters.
References lti::linearRegression< T >::parameters::eigenSystemDim.
Referenced by lti::linearRegression< T >::parameters::clone().
lti::linearRegression< T >::parameters::parameters | ( | const parameters & | other | ) | [inline] |
copy constructor
other | the parameters object to be copied |
Reimplemented from lti::linearAlgebraFunctor::parameters.
Reimplemented in lti::linearRegressionTracking::parameters.
References lti::linearRegression< T >::parameters::copy().
lti::linearRegression< T >::parameters::~parameters | ( | ) | [inline, virtual] |
destructor
Reimplemented from lti::linearAlgebraFunctor::parameters.
Reimplemented in lti::linearRegressionTracking::parameters.
virtual functor::parameters* lti::linearRegression< T >::parameters::clone | ( | ) | const [inline, virtual] |
returns a pointer to a clone of the parameters
Reimplemented from lti::linearAlgebraFunctor::parameters.
Reimplemented in lti::linearRegressionTracking::parameters.
References lti::linearRegression< T >::parameters::parameters().
parameters& lti::linearRegression< T >::parameters::copy | ( | const parameters & | other | ) | [inline] |
copy the contents of a parameters object
other | the parameters object to be copied |
Reimplemented from lti::linearAlgebraFunctor::parameters.
Reimplemented in lti::linearRegressionTracking::parameters.
References lti::functor::parameters::copy(), and lti::linearRegression< T >::parameters::eigenSystemDim.
Referenced by lti::linearRegression< T >::parameters::operator=(), and lti::linearRegression< T >::parameters::parameters().
const char* lti::linearRegression< T >::parameters::getTypeName | ( | void | ) | const [inline, virtual] |
returns name of this type
Reimplemented from lti::linearAlgebraFunctor::parameters.
Reimplemented in lti::linearRegressionTracking::parameters.
parameters& lti::linearRegression< T >::parameters::operator= | ( | const parameters & | other | ) | [inline] |
Assigns the contents of the other object to this object.
Reimplemented in lti::linearRegressionTracking::parameters.
References lti::linearRegression< T >::parameters::copy().
virtual bool lti::linearRegression< T >::parameters::read | ( | ioHandler & | handler, | |
const bool | complete = true | |||
) | [inline, virtual] |
read the parameters from the given ioHandler
handler | the ioHandler to be used | |
complete | if true (the default) the enclosing begin/end will be also read, otherwise only the data block will be read. |
Reimplemented from lti::linearAlgebraFunctor::parameters.
Reimplemented in lti::linearRegressionTracking::parameters.
References lti::linearRegression< T >::parameters::eigenSystemDim, lti::ioHandler::readBegin(), and lti::ioHandler::readEnd().
virtual bool lti::linearRegression< T >::parameters::write | ( | ioHandler & | handler, | |
const bool | complete = true | |||
) | const [inline, virtual] |
write the parameters in the given ioHandler
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. |
Reimplemented from lti::linearAlgebraFunctor::parameters.
Reimplemented in lti::linearRegressionTracking::parameters.
References lti::linearRegression< T >::parameters::eigenSystemDim, lti::ioHandler::writeBegin(), and lti::ioHandler::writeEnd().
int lti::linearRegression< T >::parameters::eigenSystemDim |
Dimensionality of the eigensystem which is constructed during calculation of the linear regression matrix.
It must not be bigger than the number of trainingvectors used. The quality of the resulting matrix depends on this value, it should be neither to small nor to big. There are methods to estimate the optimal value in the literature, but none has been implemented in this functor yet. The default is 10.
Referenced by lti::linearRegression< T >::parameters::copy(), lti::linearRegression< T >::parameters::parameters(), lti::linearRegression< T >::parameters::read(), and lti::linearRegression< T >::parameters::write().