#include <TwoSpiralsVisualization.h>
TwoSpiralsDataSet::TwoSpiralsDataSet |
( |
const Eigen::MatrixXd & |
inputs, |
|
|
const Eigen::MatrixXd & |
outputs |
|
) |
| |
virtual TwoSpiralsDataSet::~TwoSpiralsDataSet |
( |
) | |
|
|
inlinevirtual |
void TwoSpiralsDataSet::finishIteration |
( |
Learner & |
learner) | |
|
|
virtual |
This function is called after an iteration of the optimization algorithm.
It could log results, modify or extend the data set or whatever.
- Parameters
-
Implements OpenANN::DataSet.
virtual Eigen::VectorXd& TwoSpiralsDataSet::getInstance |
( |
int |
n) | |
|
|
inlinevirtual |
Get the input of the ith instance.
- Parameters
-
- Returns
- input
Implements OpenANN::DataSet.
virtual Eigen::VectorXd& TwoSpiralsDataSet::getTarget |
( |
int |
n) | |
|
|
inlinevirtual |
Get the output of the ith instance.
- Parameters
-
- Returns
- output
Implements OpenANN::DataSet.
virtual int TwoSpiralsDataSet::inputs |
( |
) | |
|
|
inlinevirtual |
Input dimensions of instances.
- Returns
- number of inputs
Implements OpenANN::DataSet.
virtual int TwoSpiralsDataSet::outputs |
( |
) | |
|
|
inlinevirtual |
Output dimensions of instances.
- Returns
- number of outputs
Implements OpenANN::DataSet.
virtual int TwoSpiralsDataSet::samples |
( |
) | |
|
|
inlinevirtual |
Number of instances.
Assumes that the data set has a fixed size, at least for one iteration of the optimization algorithm.
- Returns
- number of examples
Implements OpenANN::DataSet.
The documentation for this class was generated from the following files: