Marsyas
0.6.0-alpha
|
Annotate a feature vector/slice with a label. More...
#include <Annotator.h>
Inherits MarSystem.
Public Member Functions | |
Annotator (std::string name) | |
Annotator constructor. | |
Annotator (const Annotator &a) | |
Annotator copy constructor. | |
MarSystem * | clone () const |
void | myProcess (realvec &in, realvec &out) |
Implementation of the MarSystem::myProcess() method. | |
~Annotator () | |
Annotator destructor. |
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.
Annotator | ( | std::string | name | ) |
Annotator constructor.
Definition at line 25 of file Annotator.cpp.
Annotator copy constructor.
Definition at line 31 of file Annotator.cpp.
~Annotator | ( | ) |
Annotator destructor.
Definition at line 38 of file Annotator.cpp.
Implements MarSystem.
Definition at line 43 of file Annotator.cpp.
Implementation of the MarSystem::myProcess() method.
Implements MarSystem.
Definition at line 87 of file Annotator.cpp.