Implements data whitening (as result, each feature mean value is 0 with normalized stddev). More...
#include <data_scaler_white.hpp>
Public Member Functions | |
Data_Scaler_white (const int dims=1) | |
Data_Scaler_white (const DATATYPE missing_val_code, const int dims) | |
Data_Scaler_white (const Data_Scaler_white &ds) | |
virtual int | learn_loops () const |
virtual bool | startFirstLoop () |
virtual bool | startNextLoop () |
virtual void | learn (const DATATYPE &value) |
virtual DATATYPE | scale (const DATATYPE &value) |
return the scaled value | |
virtual void | scale_inplace (DATATYPE &value) |
scale the value in place | |
virtual std::ostream & | print (std::ostream &os) const |
Protected Attributes | |
int | learn_loop |
IDXTYPE | count1 |
DATATYPE | mean |
IDXTYPE | count2 |
DATATYPE | stddev |
bool | missing_values |
const DATATYPE | _missing_val_code |
Implements data whitening (as result, each feature mean value is 0 with normalized stddev).