latest version v1.9 - last update 10 Apr 2010 |
the parameters for the class SOFM2D More...
#include <ltiSOFM2D.h>
Public Member Functions | |
parameters () | |
parameters (const parameters &other) | |
virtual | ~parameters () |
const char * | getTypeName () const |
parameters & | copy (const parameters &other) |
parameters & | operator= (const parameters &other) |
virtual classifier::parameters * | clone () const |
virtual bool | write (ioHandler &handler, const bool complete=true) const |
virtual bool | read (ioHandler &handler, const bool complete=true) |
Public Attributes | |
bool | calculateSize |
int | sizeX |
int | sizeY |
int | area |
the parameters for the class SOFM2D
lti::SOFM2D::parameters::parameters | ( | ) |
default constructor
Reimplemented from lti::SOFM::parameters.
lti::SOFM2D::parameters::parameters | ( | const parameters & | other | ) |
copy constructor
other | the parameters object to be copied |
Reimplemented from lti::SOFM::parameters.
virtual lti::SOFM2D::parameters::~parameters | ( | ) | [virtual] |
destructor
Reimplemented from lti::SOFM::parameters.
virtual classifier::parameters* lti::SOFM2D::parameters::clone | ( | ) | const [virtual] |
returns a pointer to a clone of the parameters
Reimplemented from lti::SOFM::parameters.
parameters& lti::SOFM2D::parameters::copy | ( | const parameters & | other | ) |
copy the contents of a parameters object
other | the parameters object to be copied |
Reimplemented from lti::SOFM::parameters.
const char* lti::SOFM2D::parameters::getTypeName | ( | ) | const [virtual] |
returns name of this type
Reimplemented from lti::SOFM::parameters.
parameters& lti::SOFM2D::parameters::operator= | ( | const parameters & | other | ) |
copy the contents of a parameters object
other | the parameters object to be copied |
Reimplemented from lti::SOFM::parameters.
virtual bool lti::SOFM2D::parameters::read | ( | ioHandler & | handler, | |
const bool | complete = true | |||
) | [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 written, otherwise only the data block will be written. |
Reimplemented from lti::SOFM::parameters.
virtual bool lti::SOFM2D::parameters::write | ( | ioHandler & | handler, | |
const bool | complete = true | |||
) | const [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::SOFM::parameters.
approximate area of the grid when the dimension's sizes are calculated from the distribution of training points.
Default 0.
The dimensions of the grid can be given explicitely (calculateSize=false) by setting sizeX and sizeY or calculated from the distribution of the training points.
In the latter case, the two highest eigenvalues are calculated and multiplied by factor that after rounding the error to the given area is as small as possible. This method yields better unfolding of the grid at the cost of more calculations and possibly failure due to singularity of the covariance matrix of the training samples.
The default is false.
size of the grid of neurons in the first dimension.
Default 0.
size of the grid of neurons in the second dimension.
Default 0.