public interface MultiDataSetIterator extends Iterator<MultiDataSet>, Serializable
MultiDataSet
objects.
Typical usage is for machine learning algorithms with multiple independent input (features) and output (labels)
arrays.Modifier and Type | Method and Description |
---|---|
MultiDataSet |
next(int num)
Fetch the next 'num' examples.
|
void |
reset()
Resets the iterator back to the beginning
|
void |
setPreProcessor(MultiDataSetPreProcessor preProcessor)
Set the preprocessor to be applied to each MultiDataSet, before each MultiDataSet is returned.
|
forEachRemaining, hasNext, next, remove
MultiDataSet next(int num)
num
- Number of examples to fetchvoid setPreProcessor(MultiDataSetPreProcessor preProcessor)
preProcessor
- MultiDataSetPreProcessor. May be null.void reset()
Copyright © 2016. All Rights Reserved.