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::Transformer Class Referenceabstract

Common base for all transformations. More...

#include <Transformer.h>

+ Inheritance diagram for OpenANN::Transformer:

Public Member Functions

virtual ~Transformer ()
 
virtual Transformerfit (const Eigen::MatrixXd &X)=0
 Fit transformation according to training set X. More...
 
virtual TransformerfitPartial (const Eigen::MatrixXd &X)
 Fit transformation according to subset of the training set X. More...
 
virtual Eigen::MatrixXd transform (const Eigen::MatrixXd &X)=0
 Transform the data. More...
 

Detailed Description

Common base for all transformations.

Transformations are (usually unsupervised) data preprocessing methods.

Constructor & Destructor Documentation

virtual OpenANN::Transformer::~Transformer ( )
inlinevirtual

Member Function Documentation

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

Fit transformation according to training set X.

Parameters
Xeach row represents an instance
Returns
this for chaining

Implemented in OpenANN::KMeans, OpenANN::PCA, OpenANN::Compressor, OpenANN::ZCAWhitening, and OpenANN::Normalization.

virtual Transformer& OpenANN::Transformer::fitPartial ( const Eigen::MatrixXd &  X)
inlinevirtual

Fit transformation according to subset of the training set X.

This can be used for online adaption of the transformation.

Parameters
Xeach row represents an instance
Returns
this for chaining

Reimplemented in OpenANN::Compressor.

virtual Eigen::MatrixXd OpenANN::Transformer::transform ( const Eigen::MatrixXd &  X)
pure virtual

Transform the data.

Parameters
Xeach row represents an instance
Returns
transformed data

Implemented in OpenANN::KMeans, OpenANN::PCA, OpenANN::Compressor, OpenANN::ZCAWhitening, and OpenANN::Normalization.


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