mlpack
|
The model to save to disk. More...
#include <scaling_model.hpp>
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. | |
ScalingModel (const ScalingModel &other) | |
Copy constructor. | |
ScalingModel (ScalingModel &&other) | |
Move constructor. | |
ScalingModel & | operator= (const ScalingModel &other) |
Copy assignment operator. | |
ScalingModel & | operator= (ScalingModel &&other) |
Move assignment operator. | |
~ScalingModel () | |
Clean up memory. | |
size_t | ScalerType () const |
Get the Scaler type. | |
size_t & | ScalerType () |
Modify the Scaler type. | |
template<typename MatType > | |
void | Transform (const MatType &input, MatType &output) |
Transform to scale features. | |
template<typename MatType > | |
void | Fit (const MatType &input) |
template<typename MatType > | |
void | InverseTransform (const MatType &input, MatType &output) |
template<typename Archive > | |
void | serialize (Archive &ar, const uint32_t) |
Serialize the model. | |
The model to save to disk.