normalizes a matrix to unit variance, 0 mean centered.
More...
#include <utils.h>
normalizes a matrix to unit variance, 0 mean centered.
Definition at line 312 of file utils.h.
◆ Normalizer()
Brush::Util::Normalizer::Normalizer |
( |
bool | sa = true | ) |
|
|
inline |
◆ fit()
void Brush::Util::Normalizer::fit |
( |
MatrixXf & | X, |
|
|
const vector< char > & | dt ) |
fit the scale and offset of data.
Definition at line 100 of file utils.cpp.
◆ fit_normalize()
void Brush::Util::Normalizer::fit_normalize |
( |
MatrixXf & | X, |
|
|
const vector< char > & | dtypes ) |
◆ normalize()
void Brush::Util::Normalizer::normalize |
( |
MatrixXf & | X | ) |
|
◆ dtypes
vector<char> Brush::Util::Normalizer::dtypes |
◆ offset
vector<float> Brush::Util::Normalizer::offset |
◆ scale
vector<float> Brush::Util::Normalizer::scale |
◆ scale_all
bool Brush::Util::Normalizer::scale_all |
The documentation for this struct was generated from the following files: