latest version v1.9 - last update 10 Apr 2010 |
the parameters for the class fuzzyCMeans More...
#include <ltiFuzzyCMeans.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 | |
double | fuzzifier |
eDistanceMeasure | norm |
double | epsilon |
int | maxIterations |
int | nbOfClusters |
the parameters for the class fuzzyCMeans
lti::fuzzyCMeans::parameters::parameters | ( | ) |
default constructor
lti::fuzzyCMeans::parameters::parameters | ( | const parameters & | other | ) |
copy constructor
other | the parameters object to be copied |
virtual lti::fuzzyCMeans::parameters::~parameters | ( | ) | [virtual] |
destructor
virtual classifier::parameters* lti::fuzzyCMeans::parameters::clone | ( | ) | const [virtual] |
returns a pointer to a clone of the parameters
parameters& lti::fuzzyCMeans::parameters::copy | ( | const parameters & | other | ) |
copy the contents of a parameters object
other | the parameters object to be copied |
const char* lti::fuzzyCMeans::parameters::getTypeName | ( | ) | const |
returns name of this type
parameters& lti::fuzzyCMeans::parameters::operator= | ( | const parameters & | other | ) |
copy the contents of a parameters object
other | the parameters object to be copied |
virtual bool lti::fuzzyCMeans::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. |
virtual bool lti::fuzzyCMeans::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. |
the algorithm terminates if the distance between the new centroids and the old centroids is smaller than epsilon
bias the algorithm either towards hard clustering (nearby 1) or fuzzy clustering (bigger 1); this parameter must be bigger than 1
maximum number of Iteration before the algorithm terminates
the number of clusters the algorithm creates
eDistanceMeasure lti::fuzzyCMeans::parameters::norm |
norm in which the distances are measured, valid options are L1 and L2