|
Cosan
1.0
Data Analytics Library
|
#include <normalizer.h>
Public Member Functions | |
| Normalizer (CosanRawData< NumericType > &RD) | |
| ~Normalizer () override=default | |
| Normalizer (CosanRawData< NumericType > &RD, int new_p) | |
| int | Getp () const |
| CosanColVector< NumericType > | GetSampleNorm () |
| void | Setp (int new_p) |
Public Member Functions inherited from Cosan::Preprocessor< NumericType > | |
| Preprocessor () | |
| virtual | ~Preprocessor ()=default |
Public Member Functions inherited from Cosan::CosanBO | |
| CosanBO () | |
| Default constructor. More... | |
| virtual const std::string | GetName () const |
| Get the name of the objects. More... | |
Protected Member Functions | |
| void | fit (CosanRawData< NumericType > &RD) |
| void | fit (const CosanMatrix< NumericType > &X) override |
| CosanMatrix< NumericType > | transform (const CosanMatrix< NumericType > &X) override |
Private Attributes | |
| int | p |
| bool | exist_zero |
| CosanColVector< NumericType > | SampleNorm |
| std::set< int > | plist = {1,2,std::numeric_limits<int>::max()} |
Scale input vectors individually to unit norm (vector length).
Definition at line 12 of file normalizer.h.
|
inline |
Definition at line 14 of file normalizer.h.
|
overridedefault |
|
inline |
|
inlineoverrideprotectedvirtual |
Reimplemented from Cosan::Preprocessor< NumericType >.
Definition at line 38 of file normalizer.h.
|
inlineprotected |
Definition at line 35 of file normalizer.h.
|
inline |
Definition at line 31 of file normalizer.h.
|
inline |
Definition at line 32 of file normalizer.h.
|
inline |
Definition at line 33 of file normalizer.h.
|
inlineoverrideprotectedvirtual |
Reimplemented from Cosan::Preprocessor< NumericType >.
Definition at line 40 of file normalizer.h.
|
private |
Definition at line 64 of file normalizer.h.
|
private |
Definition at line 63 of file normalizer.h.
|
private |
Definition at line 66 of file normalizer.h.
|
private |
Definition at line 65 of file normalizer.h.