public class IrisDataSetIterator extends org.nd4j.linalg.dataset.api.iterator.BaseDatasetIterator
batch, fetcher, numExamples, preProcessor| Constructor and Description |
|---|
IrisDataSetIterator()
Create an iris iterator for full batch training - i.e., all 150 examples are included per minibatch
|
IrisDataSetIterator(int batch,
int numExamples)
IrisDataSetIterator handles traversing through the Iris Data Set.
|
| Modifier and Type | Method and Description |
|---|---|
org.nd4j.linalg.dataset.DataSet |
next() |
asyncSupported, batch, getLabels, getPreProcessor, hasNext, inputColumns, next, remove, reset, resetSupported, setPreProcessor, totalOutcomesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic IrisDataSetIterator()
public IrisDataSetIterator(int batch,
int numExamples)
batch - Batch sizenumExamples - Total number of examplespublic org.nd4j.linalg.dataset.DataSet next()
next in interface Iterator<org.nd4j.linalg.dataset.DataSet>next in class org.nd4j.linalg.dataset.api.iterator.BaseDatasetIteratorCopyright © 2021. All rights reserved.