![]() |
OpenANN
1.1.0
An open source library for artificial neural networks.
|
Common base for all transformations. More...
#include <Transformer.h>
Inheritance diagram for OpenANN::Transformer:Public Member Functions | |
| virtual | ~Transformer () |
| virtual Transformer & | fit (const Eigen::MatrixXd &X)=0 |
| Fit transformation according to training set X. More... | |
| virtual Transformer & | fitPartial (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... | |
Common base for all transformations.
Transformations are (usually unsupervised) data preprocessing methods.
|
inlinevirtual |
|
pure virtual |
Fit transformation according to training set X.
| X | each row represents an instance |
Implemented in OpenANN::KMeans, OpenANN::PCA, OpenANN::Compressor, OpenANN::ZCAWhitening, and OpenANN::Normalization.
|
inlinevirtual |
Fit transformation according to subset of the training set X.
This can be used for online adaption of the transformation.
| X | each row represents an instance |
Reimplemented in OpenANN::Compressor.
|
pure virtual |
Transform the data.
| X | each row represents an instance |
Implemented in OpenANN::KMeans, OpenANN::PCA, OpenANN::Compressor, OpenANN::ZCAWhitening, and OpenANN::Normalization.
1.8.4