Annotator Class Reference
[Machine Learning]

Annotate a feature vector/slice with a label. More...

#include <Annotator.h>

Inherits Marsyas::MarSystem.


Public Member Functions

 Annotator (const Annotator &a)
 Annotator copy constructor.
 Annotator (std::string name)
 Annotator constructor.
void myProcess (realvec &in, realvec &out)
 Implementation of the MarSystem::myProcess() method.
 ~Annotator ()
 Annotator destructor.

Private Member Functions

void addControls ()
 Implementation of the MarSystem::addControls() method.
void myUpdate (MarControlPtr sender)
 Implementation of the MarSystem::myUpdate() method.

Private Attributes

MarControlPtr ctrl_annotationName_
 MarControl for setting the annotation name.
MarControlPtr ctrl_label_
 MarControl for setting the annotation label.
MarControlPtr ctrl_labelInFront_
 MarControl toggle for putting the annotation label in front of the observations.
mrs_bool labelInFront_
 Cache for storing the value of the labelInFront control.


Detailed Description

Annotate a feature vector/slice with a label.

The Annotator adds an observation row for labeling the feature stream. The label can be set through the mrs_natural/label control. Note that this label control expects a natural number representation of the label. Also note that only one label can be given at each processing step and this given label is applied to all samples of the time slice.

Controls:

Definition at line 51 of file Annotator.h.


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

Generated on Wed May 23 00:02:23 2012 for Marsyas by  doxygen 1.5.6