|
latest version v1.9 - last update 24 Nov 2005 |
|
#include <ltiClassifier.h>
Inheritance diagram for lti::classifier:


Public Member Functions | |
| classifier () | |
| classifier (const classifier &other) | |
| virtual | ~classifier () |
| virtual const char * | getTypeName () const |
| classifier & | copy (const classifier &other) |
| classifier & | operator= (const classifier &other) |
| virtual classifier * | clone () const =0 |
| virtual bool | validParameters () const |
| const parameters & | getParameters () const |
| virtual bool | setParameters (const parameters &theParam) |
| virtual void | setOutputTemplate (const outputTemplate &theOutputTemplate) |
| const outputTemplate & | getOutputTemplate () const |
| virtual bool | write (ioHandler &handler, const bool complete=true) const |
| virtual bool | read (ioHandler &handler, const bool complete=true) |
Progress Info | |
Methods used to plug-in and retrieve progress visualization objects. | |
| void | setProgressObject (const progressInfo &progBox) |
| void | removeProgressObject () |
| bool | validProgressObject () const |
| progressInfo & | getProgressObject () |
| const progressInfo & | getProgressObject () const |
Static Public Attributes | |
| static const int | unknownObj |
| static const int | noObject |
| static const double | nullProbability |
Protected Attributes | |
| parameters * | params |
| progressInfo * | progressBox |
| outputTemplate | outTemplate |
Classes | |
| class | invalidMethodException |
| Exception thrown when a method of a functor is not implemented for a specific parameter set. More... | |
| class | invalidOutputException |
| Exception thrown when the output objects has not been set yet. More... | |
| class | invalidParametersException |
| Exception thrown when the parameters are not set. More... | |
| class | outputTemplate |
| The outputTemplate stores the relation between the different positions (sometimes called internal ids) of a classification result and the ids. More... | |
| class | outputVector |
| An output vector is the result of classifying data with any classifier. More... | |
| class | parameters |
| the parameters for the class classifier More... | |
| class | parametersOutOfRangeException |
| Exception thrown when a parameter is out of range. More... | |
The classifier class encloses a number of other important classes:
Classifiers can be diveded into two large groups: supervised and unsupervised. These two groups have the base classes supervisedClassifier and unsupervisedClassifier which are subclasses of this class. Examples for the first type are RBF networks, multi layer perceptron, maximum likelihood classifiers etc. The second type comprises statistic and neural clustering methods.
All classifiers return an outputVector when classify is called. The outputVector is created by the classifier by applying its outputTemplate to the regular dvector which results from the classification process.
|
|
default constructor
|
|
|
copy constructor
|
|
|
destructor
|
|
|
returns a pointer to a clone of this functor.
Implemented in lti::adaptiveKMeans, lti::bagging, lti::competitiveAgglomeration, lti::DBScan< T >, lti::fuzzyCMeans, lti::hmmClassifier, lti::hmmOnlineClassifier, lti::kMeansClustering, lti::kNNClassifier, lti::lvq, lti::manualCrispDecisionTree, lti::MLP, lti::MSTClustering< U >, lti::rbf, lti::shClassifier, lti::SOFM, lti::SOFM2D, and lti::svm. |
|
|
copy data of "other" functor.
|
|
|
get a const reference to the outputTemplate
|
|
|
|
get progress object
|
|
|
get progress object
|
|
|
returns the name of this type ("classifier")
Reimplemented from lti::ioObject. Reimplemented in lti::adaptiveKMeans, lti::bagging, lti::centroidClustering, lti::clustering, lti::competitiveAgglomeration, lti::crispDecisionTree, lti::DBScan< T >, lti::decisionTree, lti::fuzzyCMeans, lti::hmmClassifier, lti::hmmOnlineClassifier, lti::kMeansClustering, lti::kNNClassifier, lti::manualCrispDecisionTree, lti::MLP, lti::MSTClustering< U >, lti::rbf, lti::shClassifier, lti::SOFM, lti::SOFM2D, lti::supervisedInstanceClassifier, lti::supervisedSequenceClassifier, lti::svm, and lti::unsupervisedClassifier. |
|
|
Alias for "copy".
|
|
||||||||||||
|
read the classifier from the given ioHandler
Reimplemented from lti::ioObject. Reimplemented in lti::bagging, lti::centroidClustering, lti::crispDecisionTree, lti::decisionTree, lti::hmmClassifier, lti::hmmOnlineClassifier, lti::kNNClassifier, lti::MLP, lti::MSTClustering< U >, lti::rbf, lti::shClassifier, lti::SOFM, lti::SOFM2D, and lti::svm. |
|
|
remove the active progress object
|
|
|
sets the classifier's outputTemplate This member makes a copy of theOutputTemplate: the classifier will keep its own copy of the outputTemplate
|
|
|
sets the classifier's parameters. This member makes a copy of theParam: the classifier will keep its own copy of the parameters! Reimplemented in lti::fuzzyCMeans. |
|
|
set a progress object A clone of the given object will be generated. |
|
|
returns true if the parameters are valid
|
|
|
return true if a valid progressInfo object has already been setted
|
|
||||||||||||
|
write the classifier in the given ioHandler
Reimplemented from lti::ioObject. Reimplemented in lti::bagging, lti::centroidClustering, lti::crispDecisionTree, lti::decisionTree, lti::hmmClassifier, lti::hmmOnlineClassifier, lti::kNNClassifier, lti::MLP, lti::MSTClustering< U >, lti::rbf, lti::shClassifier, lti::SOFM, lti::SOFM2D, and lti::svm. |
|
|
constant to indicate "no object"
|
|
|
all probabilities under this value will be considered as 0
|
|
|
The outputTemplate for this classifier.
|
|
|
current parameters.
|
|
|
current progress object
|
|
|
constant to indicate an unknown object
|