Marsyas  0.5.0-beta1
Public Member Functions
GMMClassifier Class Reference

Single Gaussian multidimensional classifier. More...

#include <GMMClassifier.h>

Inherits MarSystem.

Public Member Functions

MarSystemclone () const
 GMMClassifier (std::string name)
 GMMClassifier (const GMMClassifier &a)
void myProcess (realvec &in, realvec &out)
 Processes data.
 ~GMMClassifier ()

Detailed Description

Single Gaussian multidimensional classifier.

Simple multidimensional Gaussian classifier. The classifier parameters (or model) are stored in the the theta control. When the mode control is set to "train" the input slice is used to accumulate information for training. The actual final theta calculation is completed when the control train is set to true. That can accomodate non-incremental or batch training. The labels control is used to provide ground truth about the label(s). The output of the classifier is the ground truth label(s) when the mode control is train.

When the mode control is set to "predict" then the output of the classifier is the predicted labels using the trained parameter vector theta.

Basically there are four states based on control transitions (previous value of mode (PVM); current value of mode(CVM)): 1. PVM: predict; CVM: train ==> reset the classifier 2. PVM: train; CVM: train ==> train or accumulate samples for batch classifiers 3. PVM: train; CVM: predict ==> finalize things like calculating means and variances to prepare for prediction 4. PVM: predict; CVM: predict ==> just predict

This MarSystems serves as a prototypical classification/regression MarSystem.

WARNING: This MarSystem is a "work in progress" and is not in a working state. It is still missing some coding, testing and validation of results. In case you're interested in using or developing a GMM Classifier in Marsyas, please contact or the Marsyas mailing lists.

Definition at line 63 of file GMMClassifier.h.

Constructor & Destructor Documentation

GMMClassifier ( std::string  name)

Definition at line 29 of file GMMClassifier.cpp.

GMMClassifier ( const GMMClassifier a)

Definition at line 39 of file GMMClassifier.cpp.

Definition at line 55 of file GMMClassifier.cpp.

Member Function Documentation

MarSystem * clone ( ) const [virtual]

Implements MarSystem.

Definition at line 61 of file GMMClassifier.cpp.

void myProcess ( realvec in,
realvec out 
) [virtual]

Processes data.

inInput data to read.
outOutput data to write.

Implement this method in subclass to define specific data processing.

Implements MarSystem.

Definition at line 505 of file GMMClassifier.cpp.

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