WekaSink Class Reference
[Input/Output]
Output sink (text) in WEKA (ARFF) format.
More...
#include <WekaSink.h>
Inherits Marsyas::MarSystem.
|
Public Member Functions |
|
void | putHeader (std::string inObsNames) |
| | Write the WEKA ARFF header to the output file.
|
|
| WekaSink (const WekaSink &a) |
| | WekaSink copy constructor.
|
|
| WekaSink (std::string name) |
| | WekaSink constructor.
|
|
| ~WekaSink () |
| | WekaSink desctructor.
|
Private Attributes |
|
mrs_natural | count_ |
| | scheduling purposes
|
|
std::string | filename_ |
| | The file name of the WEKA file we are currently write to.
|
|
std::vector< std::string > | labelNames_ |
| | List of the label names.
|
|
std::ofstream * | mos_ |
| | The output stream to write the WEKA ARFF data to.
|
|
mrs_natural | precision_ |
| | The decimal precision to use in the floating point notation.
|
Detailed Description
Output sink (text) in WEKA (ARFF) format.
Controls:
- mrs_natural/precision [w] : precision of numbers to output.
- mrs_string/filename [w] : name of output file.
- mrs_natural/nLabels [rw] : number of labels.
- mrs_natural/downsample [rw] : divides number of samples.
- mrs_string/labelNames [rw] : names of labels.
- mrs_bool/regression [rw] : classification or regression?
- mrs_bool/putHeader [rw] : add extra information to the .arff
- mrs_bool/inject [w] : trigger injection of data to .arff output out of dataflow
- mrs_string/comment [w] : inject string to .arff output of of dataflow triggered by inject control file.
- mrs_bool/onlyStable [rw] : do not write "unreliable" ticks to disk. "unreliable" means ticks such as the very beginning of a ShiftInput before the window is filled.
- mrs_bool/resetStable [w] : if you have set onlyStable, then set this to true whenever the input changes significantly (i.e. reading a new file). This control will automatically be set to false in the next tick().
Definition at line 56 of file WekaSink.h.
The documentation for this class was generated from the following files: