OpenANN  1.1.0
An open source library for artificial neural networks.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
List of all members | Public Member Functions
OpenANN::ZCAWhitening Class Reference

Zero phase component analysis whitening transformation. More...

#include <ZCAWhitening.h>

+ Inheritance diagram for OpenANN::ZCAWhitening:

Public Member Functions

virtual Transformerfit (const Eigen::MatrixXd &X)
 Fit transformation according to training set X. More...
 
virtual Eigen::MatrixXd transform (const Eigen::MatrixXd &X)
 Transform the data. More...
 
- Public Member Functions inherited from OpenANN::Transformer
virtual ~Transformer ()
 
virtual TransformerfitPartial (const Eigen::MatrixXd &X)
 Fit transformation according to subset of the training set X. More...
 

Detailed Description

Zero phase component analysis whitening transformation.

The data will be transformed through $ Y = X W $ such that the covariance matrix $ C = \frac{1}{n-1} Y^T Y $ will be $ I $ and $ W = W^T $. This is essentially a PCA and a transformation back to the original space.

Member Function Documentation

virtual Transformer& OpenANN::ZCAWhitening::fit ( const Eigen::MatrixXd &  X)
virtual

Fit transformation according to training set X.

Parameters
Xeach row represents an instance
Returns
this for chaining

Implements OpenANN::Transformer.

virtual Eigen::MatrixXd OpenANN::ZCAWhitening::transform ( const Eigen::MatrixXd &  X)
virtual

Transform the data.

Parameters
Xeach row represents an instance
Returns
transformed data

Implements OpenANN::Transformer.


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