Marsyas
0.6.0-alpha
|
Normalize by mapping min/max range to user specified range. More...
#include <NormMaxMin.h>
Inherits MarSystem.
Public Member Functions | |
MarSystem * | clone () const |
void | myProcess (realvec &in, realvec &out) |
Processes data. | |
NormMaxMin (std::string name) | |
NormMaxMin (const NormMaxMin &) | |
~NormMaxMin () |
Normalize by mapping min/max range to user specified range.
You can normalize over the entire slice, within an entire observation channel, or over a sample by using the "domain" control.
You can do the normalization all at once by setting the "mode" control to twopass. Alternatively you can train the normalizer with several sets of data by setting the mode control to "train", and then switch to "predict" to normalize a slice to the maximums and minimums found in the training slices.
Controls:
Definition at line 56 of file NormMaxMin.h.
NormMaxMin | ( | std::string | name | ) |
Definition at line 25 of file NormMaxMin.cpp.
NormMaxMin | ( | const NormMaxMin & | a | ) |
Definition at line 34 of file NormMaxMin.cpp.
~NormMaxMin | ( | ) |
Definition at line 45 of file NormMaxMin.cpp.
Implements MarSystem.
Definition at line 50 of file NormMaxMin.cpp.
Processes data.
in | Input data to read. |
out | Output data to write. |
Implement this method in subclass to define specific data processing.
Implements MarSystem.
Definition at line 115 of file NormMaxMin.cpp.