public class TestDataSetIterator extends Object implements DataSetIterator
Constructor and Description |
---|
TestDataSetIterator(DataSetIterator wrapped) |
Modifier and Type | Method and Description |
---|---|
int |
batch() |
int |
cursor() |
int |
getNumDataSets() |
boolean |
hasNext() |
int |
inputColumns() |
DataSet |
next() |
DataSet |
next(int num)
Like the standard next method but allows a
customizable number of examples returned
|
int |
numExamples() |
void |
remove() |
void |
reset() |
int |
totalExamples() |
int |
totalOutcomes() |
public TestDataSetIterator(DataSetIterator wrapped)
public int totalExamples()
totalExamples
in interface DataSetIterator
public int inputColumns()
inputColumns
in interface DataSetIterator
public int totalOutcomes()
totalOutcomes
in interface DataSetIterator
public void reset()
reset
in interface DataSetIterator
public int batch()
batch
in interface DataSetIterator
public int cursor()
cursor
in interface DataSetIterator
public int numExamples()
numExamples
in interface DataSetIterator
public int getNumDataSets()
public DataSet next(int num)
DataSetIterator
next
in interface DataSetIterator
num
- the number of examplesCopyright © 2014. All Rights Reserved.