public class ScrollableDataSetIterator extends Object implements DataSetIterator
| Modifier and Type | Field and Description |
|---|---|
protected DataSetIterator |
backedIterator |
protected AtomicLong |
counter |
protected MultiDataSet |
firstMultiTrain |
protected DataSet |
firstTrain |
protected AtomicBoolean |
resetPending |
| Constructor and Description |
|---|
ScrollableDataSetIterator(int num,
DataSetIterator backedIterator,
AtomicLong counter,
AtomicBoolean resetPending,
DataSet firstTrain,
double ratio,
int totalExamples) |
ScrollableDataSetIterator(int num,
DataSetIterator backedIterator,
AtomicLong counter,
AtomicBoolean resetPending,
DataSet firstTrain,
int[] itemsPerPart) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
asyncSupported() |
int |
batch() |
List<String> |
getLabels() |
DataSetPreProcessor |
getPreProcessor() |
boolean |
hasNext() |
int |
inputColumns() |
DataSet |
next() |
DataSet |
next(int i) |
void |
remove() |
void |
reset() |
boolean |
resetSupported() |
void |
setPreProcessor(DataSetPreProcessor dataSetPreProcessor) |
int |
totalOutcomes() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingprotected DataSetIterator backedIterator
protected AtomicLong counter
protected AtomicBoolean resetPending
protected DataSet firstTrain
protected MultiDataSet firstMultiTrain
public ScrollableDataSetIterator(int num,
DataSetIterator backedIterator,
AtomicLong counter,
AtomicBoolean resetPending,
DataSet firstTrain,
double ratio,
int totalExamples)
public ScrollableDataSetIterator(int num,
DataSetIterator backedIterator,
AtomicLong counter,
AtomicBoolean resetPending,
DataSet firstTrain,
int[] itemsPerPart)
public DataSet next(int i)
next in interface DataSetIteratorpublic List<String> getLabels()
getLabels in interface DataSetIteratorpublic int inputColumns()
inputColumns in interface DataSetIteratorpublic int totalOutcomes()
totalOutcomes in interface DataSetIteratorpublic boolean resetSupported()
resetSupported in interface DataSetIteratorpublic boolean asyncSupported()
asyncSupported in interface DataSetIteratorpublic void reset()
reset in interface DataSetIteratorpublic int batch()
batch in interface DataSetIteratorpublic void setPreProcessor(DataSetPreProcessor dataSetPreProcessor)
setPreProcessor in interface DataSetIteratorpublic DataSetPreProcessor getPreProcessor()
getPreProcessor in interface DataSetIteratorCopyright © 2021. All rights reserved.