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 |
---|---|
boolean |
asyncSupported()
Does this MultiDataSetIterator support asynchronous prefetching of multiple MultiDataSet objects?
Most MultiDataSetIterators do, but in some cases it may not make sense to wrap this iterator in an
iterator that does asynchronous prefetching.
|
MultiDataSet |
next(int num)
Fetch the next 'num' examples.
|
void |
reset()
Resets the iterator back to the beginning
|
boolean |
resetSupported()
Is resetting supported by this DataSetIterator? Many DataSetIterators do support resetting,
but some don't
|
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.boolean resetSupported()
boolean asyncSupported()
void reset()
Copyright © 2016. All Rights Reserved.