latest version v1.9 - last update 10 Apr 2010 |
the parameters for the class shClassifier More...
#include <ltiSHClassifier.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 | |
int | numberOfBins |
ivector | binVector |
dvector | minimum |
dvector | maximum |
bool | autoBounds |
the parameters for the class shClassifier
lti::shClassifier::parameters::parameters | ( | ) |
default constructor
Reimplemented from lti::classifier::parameters.
lti::shClassifier::parameters::parameters | ( | const parameters & | other | ) |
copy constructor
other | the parameters object to be copied |
virtual lti::shClassifier::parameters::~parameters | ( | ) | [virtual] |
destructor
Reimplemented from lti::classifier::parameters.
virtual classifier::parameters* lti::shClassifier::parameters::clone | ( | ) | const [virtual] |
returns a pointer to a clone of the parameters
Reimplemented from lti::classifier::parameters.
parameters& lti::shClassifier::parameters::copy | ( | const parameters & | other | ) |
copy the contents of a parameters object
other | the parameters object to be copied |
const char* lti::shClassifier::parameters::getTypeName | ( | ) | const [virtual] |
returns name of this type.
Reimplemented from lti::classifier::parameters.
parameters& lti::shClassifier::parameters::operator= | ( | const parameters & | other | ) |
copy the contents of a parameters object
other | the parameters object to be copied |
virtual bool lti::shClassifier::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::classifier::parameters.
virtual bool lti::shClassifier::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::classifier::parameters.
Should bounds be determined automatically?
The number of bins per axis in the classifier.
The classifier checks in training, if the size of this vector is greater than zero. Otherwise, numberOfBins is used.
The maximum element to be classified.
The minimum element to be classified.
The number of bins per axis in the classifier.