OpenANN
1.1.0
An open source library for artificial neural networks.
Main Page
Classes
Files
List
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
OpenANN
Compressor.h
Go to the documentation of this file.
1
#ifndef OPENANN_COMPRESSOR_H_
2
#define OPENANN_COMPRESSOR_H_
3
4
#include <
OpenANN/Transformer.h
>
5
#include <
OpenANN/CompressionMatrixFactory.h
>
6
#include <Eigen/Core>
7
8
namespace
OpenANN
9
{
10
20
class
Compressor
:
public
Transformer
21
{
22
Eigen::MatrixXd cm;
23
public
:
24
Compressor
(
int
inputDim,
int
outputDim,
25
CompressionMatrixFactory::Transformation
transformation);
26
virtual
Transformer
&
fit
(
const
Eigen::MatrixXd&
X
);
27
virtual
Transformer
&
fitPartial
(
const
Eigen::MatrixXd& X);
28
virtual
Eigen::MatrixXd
transform
(
const
Eigen::MatrixXd& X);
29
int
getOutputs
();
30
};
31
32
}
// namespace OpenANN
33
34
#endif // OPENANN_COMPRESSOR_H_
Generated on Wed Jul 9 2014 08:57:52 for OpenANN by
1.8.4