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
io
DataSet.h
Go to the documentation of this file.
1
#ifndef OPENANN_IO_DATA_SET_H_
2
#define OPENANN_IO_DATA_SET_H_
3
4
#include <Eigen/Core>
5
6
namespace
OpenANN
7
{
8
9
class
Learner;
10
22
class
DataSet
23
{
24
public
:
25
virtual
~DataSet
() {}
31
virtual
int
samples
() = 0;
36
virtual
int
inputs
() = 0;
41
virtual
int
outputs
() = 0;
47
virtual
Eigen::VectorXd&
getInstance
(
int
n) = 0;
53
virtual
Eigen::VectorXd&
getTarget
(
int
n) = 0;
59
virtual
void
finishIteration
(
Learner
& learner) = 0;
60
};
61
62
}
// namespace OpenANN
63
64
#endif // OPENANN_IO_DATA_SET_H_
Generated on Wed Jul 9 2014 08:57:52 for OpenANN by
1.8.4