mlpack
Public Types | Public Member Functions | List of all members
mlpack::data::ScalingModel Class Reference

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.
 
ScalingModeloperator= (const ScalingModel &other)
 Copy assignment operator.
 
ScalingModeloperator= (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.
 

Detailed Description

The model to save to disk.


The documentation for this class was generated from the following files: