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
Normalization.h
Go to the documentation of this file.
1
#ifndef OPENANN_NORMALIZATION_H_
2
#define OPENANN_NORMALIZATION_H_
3
4
#include <
OpenANN/Transformer.h
>
5
#include <Eigen/Core>
6
7
namespace
OpenANN
8
{
9
15
class
Normalization
:
public
Transformer
16
{
17
Eigen::MatrixXd mean;
18
Eigen::MatrixXd std;
19
public
:
20
Normalization
();
21
22
virtual
Transformer
&
fit
(
const
Eigen::MatrixXd&
X
);
23
virtual
Eigen::MatrixXd
transform
(
const
Eigen::MatrixXd& X);
24
29
Eigen::VectorXd
getMean
();
34
Eigen::VectorXd
getStd
();
35
};
36
37
}
// namespace OpenANN
38
39
#endif // OPENANN_NORMALIZATION_H_
Generated on Wed Jul 9 2014 08:57:52 for OpenANN by
1.8.4