#include <SubDataSet.h>
SubDataSet::SubDataSet |
( |
DataSet * |
dataSet, |
|
|
int * |
indices, |
|
|
int |
nExamples |
|
) |
| |
SubDataSet::~SubDataSet |
( |
| ) |
|
|
virtual |
SubDataSet * SubDataSet::getShuffledDataSet |
( |
DataSet * |
dataSet, |
|
|
int |
nExamples = -1 |
|
) |
| |
|
static |
void SubDataSet::getStandardDataSets |
( |
SubDataSet ** |
train, |
|
|
SubDataSet ** |
valid, |
|
|
SubDataSet ** |
test, |
|
|
DataSet * |
dataSet, |
|
|
float |
propTrain = 0.5f , |
|
|
float |
propValid = 0.2f , |
|
|
float |
propTest = 0.3f |
|
) |
| |
|
static |
void SubDataSet::init |
( |
| ) |
|
|
virtual |
To be called before training. Should allocate example, among other things. Default version allocates example to the size of dim.
Reimplemented from DataSet.
void SubDataSet::reset |
( |
| ) |
|
|
virtual |
To be called before every episode.
Reimplemented from DataSet.
void SubDataSet::setExample |
( |
int |
t | ) |
|
|
virtual |
Sets this->example to given index t.
Implements DataSet.
int* SubDataSet::_indices |
The documentation for this class was generated from the following files: