public class RecordReaderMultiDataSetIterator extends Object implements MultiDataSetIterator, Serializable
MultiDataSetIterator for data from one or more RecordReaders and SequenceRecordReadersRecordReaderMultiDataSetIterator.Builder to specify the various
inputs and subsets.| Modifier and Type | Class and Description |
|---|---|
static class |
RecordReaderMultiDataSetIterator.AlignmentMode
When dealing with time series data of different lengths, how should we align the input/labels time series?
For equal length: use EQUAL_LENGTH
For sequence classification: use ALIGN_END
|
static class |
RecordReaderMultiDataSetIterator.Builder |
| Modifier and Type | Method and Description |
|---|---|
boolean |
asyncSupported() |
MultiDataSetPreProcessor |
getPreProcessor() |
boolean |
hasNext() |
MultiDataSet |
loadFromMetaData(List<RecordMetaData> list)
Load a multiple sequence examples to a DataSet, using the provided RecordMetaData instances.
|
MultiDataSet |
loadFromMetaData(RecordMetaData recordMetaData)
Load a single example to a DataSet, using the provided RecordMetaData.
|
MultiDataSet |
next() |
MultiDataSet |
next(int num) |
MultiDataSet |
nextMultiDataSet(Map<String,List<List<Writable>>> nextRRVals,
Map<String,List<INDArray>> nextRRValsBatched,
Map<String,List<List<List<Writable>>>> nextSeqRRVals,
List<RecordMetaDataComposableMap> nextMetas) |
void |
remove() |
void |
reset() |
boolean |
resetSupported() |
void |
setPreProcessor(MultiDataSetPreProcessor preProcessor) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic MultiDataSet next()
next in interface Iterator<MultiDataSet>public void remove()
remove in interface Iterator<MultiDataSet>public MultiDataSet next(int num)
next in interface MultiDataSetIteratorpublic MultiDataSet nextMultiDataSet(Map<String,List<List<Writable>>> nextRRVals, Map<String,List<INDArray>> nextRRValsBatched, Map<String,List<List<List<Writable>>>> nextSeqRRVals, List<RecordMetaDataComposableMap> nextMetas)
public void setPreProcessor(MultiDataSetPreProcessor preProcessor)
setPreProcessor in interface MultiDataSetIteratorpublic MultiDataSetPreProcessor getPreProcessor()
getPreProcessor in interface MultiDataSetIteratorpublic boolean resetSupported()
resetSupported in interface MultiDataSetIteratorpublic boolean asyncSupported()
asyncSupported in interface MultiDataSetIteratorpublic void reset()
reset in interface MultiDataSetIteratorpublic boolean hasNext()
hasNext in interface Iterator<MultiDataSet>public MultiDataSet loadFromMetaData(RecordMetaData recordMetaData) throws IOException
loadFromMetaData(List)recordMetaData - RecordMetaData to load from. Should have been produced by the given record readerIOException - If an error occurs during loading of the datapublic MultiDataSet loadFromMetaData(List<RecordMetaData> list) throws IOException
list - List of RecordMetaData instances to load from. Should have been produced by the record reader provided
to the SequenceRecordReaderDataSetIterator constructorIOException - If an error occurs during loading of the dataCopyright © 2018. All rights reserved.