GestureRecognitionToolkit  Version: 1.0 Revision: 04-03-15
The Gesture Recognition Toolkit (GRT) is a cross-platform, open-source, c++ machine learning library for real-time gesture recognition.
GRT::AdaBoostClassModel Class Reference

Public Member Functions

 AdaBoostClassModel (const AdaBoostClassModel &rhs)
 
AdaBoostClassModeloperator= (const AdaBoostClassModel &rhs)
 
bool clear ()
 
bool setClassLabel (const UINT classLabel)
 
bool addClassifierToCommitee (const WeakClassifier *weakClassifier, double weight)
 
double predict (const VectorDouble &inputVector)
 
void print () const
 
UINT getClassLabel () const
 
UINT getNumWeakClassifiers () const
 
vector< WeakClassifier * > getWeakClassifiers () const
 
template<class T >
T * getWeakClassifier (const UINT &index)
 
VectorDouble getWeights () const
 
bool saveModelToFile (fstream &file) const
 
bool loadModelFromFile (fstream &file)
 
bool normalizeWeights ()
 

Protected Attributes

UINT classLabel
 
VectorDouble weights
 
vector< WeakClassifier * > weakClassifiers
 
DebugLog debugLog
 
WarningLog warningLog
 
ErrorLog errorLog
 

Detailed Description

Definition at line 36 of file AdaBoostClassModel.h.


The documentation for this class was generated from the following file: