SupervisedBatchIterator

A BatchIterator specialisation for supervised learning tasks.

Constructors

this
this(float[][] features, float[][] labels, size_t[][] shape, bool shuffle)
Undocumented in source.

Members

Functions

finished
bool finished()
Undocumented in source. Be warned that the author may not have intended to support it.
getBatch
void getBatch(float[][] batchData)
Undocumented in source. Be warned that the author may not have intended to support it.
length
size_t length()
Undocumented in source. Be warned that the author may not have intended to support it.
restart
void restart()
Undocumented in source. Be warned that the author may not have intended to support it.
shape
size_t[][] shape()
Undocumented in source. Be warned that the author may not have intended to support it.
volume
size_t[] volume()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

mFeatures
float[][] mFeatures;
Undocumented in source.
mFront
size_t mFront;
Undocumented in source.
mIndices
size_t[] mIndices;
Undocumented in source.
mLabels
float[][] mLabels;
Undocumented in source.
mShape
size_t[][] mShape;
Undocumented in source.
mShuffle
bool mShuffle;
Undocumented in source.
mVolumes
size_t[] mVolumes;
Undocumented in source.

Inherited Members

From BatchIterator

shape
size_t[][] shape()
Undocumented in source.
volume
size_t[] volume()
Undocumented in source.
length
size_t length()
Undocumented in source.
getBatch
void getBatch(float[][] batchData)
Undocumented in source.
finished
bool finished()
Undocumented in source.
restart
void restart()
Undocumented in source.

Meta