Double inheritence from SimModule SVMClassifier. More...
#include <Neuro/SVMClassifierModule.H>
Public Member Functions | |
SVMClassifierModule (OptionManager &mgr, const std::string &descrName, const std::string &tagName) | |
Constructor. | |
virtual | ~SVMClassifierModule () |
Destructor. | |
SVMObject | determineLabel (std::vector< float > featureVector, int id, std::string name, int classifierId=0) |
SVMObject | getBestLabel (const std::vector< SVMObject > &objects) |
std::vector< SVMObject > | getLabelPDF (std::vector< float > featureVector, int id, std::string name, int classifierId=0) |
std::string | getMode () |
std::vector< std::string > | getModelNames () |
Protected Member Functions | |
SVMObject | recognizeLabel (std::vector< float > featureVector, int id, std::string name, int classifierId=0) |
SVMObject | trainLabel (std::vector< float > featureVector, int id, std::string name, int classifierId=0) |
virtual void | start2 () |
(re-)initialization - load object database | |
virtual void | stop1 () |
destruction - save object database | |
virtual void | attentionShift (SimEventQueue &q, const Point2D< int > &location) |
Object recognition. | |
Protected Attributes | |
OModelParam< std::string > | itsSVMModelFileNamesStr |
OModelParam< std::string > | itsSVMModelNamesStr |
OModelParam< std::string > | itsSVMRangeFileNamesStr |
OModelParam< std::string > | itsSVMOutputFileNamesStr |
OModelParam< std::string > | itsSVMObjDBFileName |
OModelParam< std::string > | itsSVMTrainObjName |
OModelParam< int > | itsSVMTrainObjId |
OModelParam< std::string > | itsSVMMode |
Double inheritence from SimModule SVMClassifier.
Definition at line 60 of file SVMClassifierModule.H.
SVMClassifierModule::SVMClassifierModule | ( | OptionManager & | mgr, | |
const std::string & | descrName, | |||
const std::string & | tagName | |||
) |
Constructor.
Definition at line 93 of file SVMClassifierModule.C.
SVMClassifierModule::~SVMClassifierModule | ( | ) | [virtual] |
Destructor.
Definition at line 108 of file SVMClassifierModule.C.
void SVMClassifierModule::attentionShift | ( | SimEventQueue & | q, | |
const Point2D< int > & | location | |||
) | [protected, virtual] |
Object recognition.
Definition at line 186 of file SVMClassifierModule.C.
void SVMClassifierModule::start2 | ( | ) | [protected, virtual] |
(re-)initialization - load object database
Reimplemented from ModelComponent.
Definition at line 114 of file SVMClassifierModule.C.
References OModelParam< T >::getVal(), SVMClassifier::readRange(), and split().
void SVMClassifierModule::stop1 | ( | ) | [protected, virtual] |
destruction - save object database
Reimplemented from ModelComponent.
Definition at line 174 of file SVMClassifierModule.C.
References OModelParam< T >::getVal().