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
EnsembleLearner.h
Go to the documentation of this file.
1
#ifndef OPENANN_ENSEMBLE_H_
2
#define OPENANN_ENSEMBLE_H_
3
4
#include <
OpenANN/Learner.h
>
5
#include <
OpenANN/optimization/Optimizer.h
>
6
#include <
OpenANN/io/DataSet.h
>
7
#include <Eigen/Core>
8
9
namespace
OpenANN
10
{
11
12
class
EnsembleLearner
13
{
14
public
:
15
virtual
~EnsembleLearner
() {}
16
virtual
EnsembleLearner
&
addLearner
(
Learner
& learner) = 0;
17
virtual
EnsembleLearner
&
setOptimizer
(
Optimizer
& optimizer) = 0;
18
virtual
EnsembleLearner
&
train
(
DataSet
& dataSet) = 0;
19
virtual
Eigen::MatrixXd
operator()
(Eigen::MatrixXd&
X
) = 0;
20
virtual
Eigen::VectorXd
operator()
(Eigen::VectorXd&
X
) = 0;
21
};
22
23
}
// namespace OpenANN
24
25
#endif // OPENANN_ENSEMBLE_H_
Generated on Wed Jul 9 2014 08:57:52 for OpenANN by
1.8.4