Qualia
0.2
|
#include <MultiDataSet.h>
Public Member Functions | |
MultiDataSet (DataSet **dataSets, int nDataSets) | |
virtual | ~MultiDataSet () |
virtual void | init () |
virtual void | reset () |
To be called before every episode. More... | |
virtual void | setExample (int t) |
Sets this->example to given index t. More... | |
![]() | |
DataSet (int nExamples=0, int dim=0) | |
Constructor. More... | |
virtual | ~DataSet () |
int | dim () const |
Returns the dimension of each example. More... | |
int | nExamples () const |
Returns the number of examples. More... | |
Public Attributes | |
DataSet ** | _dataSets |
int | _nDataSets |
![]() | |
int | _nExamples |
Number of examples in the dataset. More... | |
int | _dim |
Dimension of the example. More... | |
real * | example |
Current example. More... | |
A dataset that is the result of the concatenation of many datasets.
MultiDataSet::MultiDataSet | ( | DataSet ** | dataSets, |
int | nDataSets | ||
) |
|
virtual |
|
virtual |
To be called before training. Should allocate example, among other things. Default version allocates example to the size of dim.
Reimplemented from DataSet.
|
virtual |
To be called before every episode.
Reimplemented from DataSet.
|
virtual |
Sets this->example to given index t.
Implements DataSet.
DataSet** MultiDataSet::_dataSets |
int MultiDataSet::_nDataSets |