The model to save to disk. More...
Public Types | |
| enum | ScalerTypes { STANDARD_SCALER , MIN_MAX_SCALER , MEAN_NORMALIZATION , MAX_ABS_SCALER , PCA_WHITENING , ZCA_WHITENING } |
Public Member Functions | |
| ScalingModel (const int minvalue=0, const int maxvalue=1, double epsilonvalue=0.00005) | |
| Create an object. More... | |
| ScalingModel (const ScalingModel &other) | |
| Copy constructor. More... | |
| ScalingModel (ScalingModel &&other) | |
| Move constructor. More... | |
| ~ScalingModel () | |
| Clean up memory. More... | |
template < typename MatType > | |
| void | Fit (const MatType &input) |
template < typename MatType > | |
| void | InverseTransform (const MatType &input, MatType &output) |
| ScalingModel & | operator= (const ScalingModel &other) |
| Copy assignment operator. More... | |
| ScalingModel & | operator= (ScalingModel &&other) |
| Move assignment operator. More... | |
| size_t | ScalerType () const |
| Get the Scaler type. More... | |
| size_t & | ScalerType () |
| Modify the Scaler type. More... | |
template < typename Archive > | |
| void | serialize (Archive &ar, const uint32_t) |
| Serialize the model. More... | |
template < typename MatType > | |
| void | Transform (const MatType &input, MatType &output) |
| Transform to scale features. More... | |
The model to save to disk.
Definition at line 29 of file scaling_model.hpp.
| enum ScalerTypes |
| Enumerator | |
|---|---|
| STANDARD_SCALER | |
| MIN_MAX_SCALER | |
| MEAN_NORMALIZATION | |
| MAX_ABS_SCALER | |
| PCA_WHITENING | |
| ZCA_WHITENING | |
Definition at line 32 of file scaling_model.hpp.
| ScalingModel | ( | const int | minvalue = 0, |
| const int | maxvalue = 1, |
||
| double | epsilonvalue = 0.00005 |
||
| ) |
Create an object.
| ScalingModel | ( | const ScalingModel & | other | ) |
Copy constructor.
| ScalingModel | ( | ScalingModel && | other | ) |
Move constructor.
| ~ScalingModel | ( | ) |
Clean up memory.
| void Fit | ( | const MatType & | input | ) |
Referenced by ScalingModel::ScalerType().
| void InverseTransform | ( | const MatType & | input, |
| MatType & | output | ||
| ) |
Referenced by ScalingModel::ScalerType().
| ScalingModel& operator= | ( | const ScalingModel & | other | ) |
Copy assignment operator.
| ScalingModel& operator= | ( | ScalingModel && | other | ) |
Move assignment operator.
|
inline |
Get the Scaler type.
Definition at line 75 of file scaling_model.hpp.
|
inline |
Modify the Scaler type.
Definition at line 77 of file scaling_model.hpp.
References ScalingModel::Fit(), ScalingModel::InverseTransform(), and ScalingModel::Transform().
|
inline |
| void Transform | ( | const MatType & | input, |
| MatType & | output | ||
| ) |
Transform to scale features.
Referenced by ScalingModel::ScalerType().