public interface DataSetIterator extends Iterator<DataSet>, Serializable
Modifier and Type | Method and Description |
---|---|
int |
batch()
Batch size
|
int |
cursor()
The current cursor if applicable
|
int |
inputColumns()
Input columns for the dataset
|
DataSet |
next(int num)
Like the standard next method but allows a
customizable number of examples returned
|
int |
numExamples()
Total number of examples in the dataset
|
void |
reset()
Resets the iterator back to the beginning
|
void |
setPreProcessor(DataSetPreProcessor preProcessor)
Set a pre processor
|
int |
totalExamples()
Total examples in the iterator
|
int |
totalOutcomes()
The number of labels for the dataset
|
forEachRemaining, hasNext, next, remove
DataSet next(int num)
num
- the number of examplesint totalExamples()
int inputColumns()
int totalOutcomes()
void reset()
int batch()
int cursor()
int numExamples()
void setPreProcessor(DataSetPreProcessor preProcessor)
preProcessor
- a pre processor to setCopyright © 2015. All Rights Reserved.