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::MinDistModel Class Reference

Public Member Functions

 MinDistModel ()
 
 MinDistModel (const MinDistModel &rhs)
 
 ~MinDistModel (void)
 
MinDistModeloperator= (const MinDistModel &rhs)
 
bool train (UINT classLabel, MatrixDouble &trainingData, UINT numClusters, double minChange, UINT maxNumEpochs)
 
double predict (const VectorDouble &observation)
 
void recomputeThresholdValue ()
 
UINT getClassLabel () const
 
UINT getNumFeatures () const
 
UINT getNumClusters () const
 
UINT getDistanceMode () const
 
double getRejectionThreshold () const
 
double getGamma () const
 
double getTrainingMu () const
 
double getTrainingSigma () const
 
MatrixDouble getClusters () const
 
bool setClassLabel (UINT classLabel)
 
bool setClusters (MatrixDouble &clusters)
 
bool setGamma (double gamma)
 
bool setRejectionThreshold (double rejectionThreshold)
 
bool setTrainingSigma (double trainingSigma)
 
bool setTrainingMu (double trainingMu)
 

Detailed Description

Definition at line 37 of file MinDistModel.h.

Constructor & Destructor Documentation

MinDistModel::MinDistModel ( )

Default Constructor

Definition at line 22 of file MinDistModel.cpp.

MinDistModel::MinDistModel ( const MinDistModel rhs)

Default Copy Constructor

Definition at line 32 of file MinDistModel.cpp.

MinDistModel::~MinDistModel ( void  )

Default Destructor

Definition at line 44 of file MinDistModel.cpp.

Member Function Documentation

MinDistModel & MinDistModel::operator= ( const MinDistModel rhs)

Defines how the data from the rhs MinDistModel should be copied to this MinDistModel

Parameters
constMinDistModel &rhs: another instance of a MinDistModel
Returns
returns a pointer to this instance of the MinDistModel

Definition at line 46 of file MinDistModel.cpp.


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