12 #ifndef MLPACK_CORE_DATA_ZCA_WHITENING_SCALE_HPP    13 #define MLPACK_CORE_DATA_ZCA_WHITENING_SCALE_HPP    62   template<
typename MatType>
    63   void Fit(
const MatType& input)
    74   template<
typename MatType>
    75   void Transform(
const MatType& input, MatType& output)
    87   template<
typename MatType>
    90     output = inv(pca.
EigenVectors()) * arma::diagmat(arma::sqrt(
    92     output = (output.each_col() + pca.
ItemMean());
   104   template<
typename Archive>
 Linear algebra utility functions, generally performed on matrices or vectors. 
 
void Fit(const MatType &input)
Function to fit features, to find out the min max and scale. 
 
const arma::mat & EigenVectors() const
Get the eigenvector. 
 
void Transform(const MatType &input, MatType &output)
Function for ZCA whitening. 
 
The core includes that mlpack expects; standard C++ includes and Armadillo. 
 
const arma::vec & ItemMean() const
Get the mean row vector. 
 
const arma::vec & ItemMean() const
Get the mean row vector. 
 
void Fit(const MatType &input)
Function to fit features, to find out the min max and scale. 
 
A simple PCAWhitening class. 
 
const arma::vec & EigenValues() const
Get the eigenvalues vector. 
 
void InverseTransform(const MatType &input, MatType &output)
Function to retrieve original dataset. 
 
double Epsilon() const
Get the regularization parameter. 
 
const arma::vec & EigenValues() const
Get the eigenvalues vector. 
 
ZCAWhitening(double eps=0.00005)
A constructor to set the regularization parameter. 
 
const double & Epsilon() const
Get the regularization parameter. 
 
const arma::mat & EigenVectors() const
Get the eigenvector. 
 
void Transform(const MatType &input, MatType &output)
Function for PCA whitening. 
 
A simple ZCAWhitening class. 
 
void serialize(Archive &ar, const uint32_t)