org.encog.ml.data.buffer
Class BufferedDataSetIterator
- java.lang.Object
-
- org.encog.ml.data.buffer.BufferedDataSetIterator
-
- All Implemented Interfaces:
- java.util.Iterator<MLDataPair>
public class BufferedDataSetIterator extends java.lang.Object implements java.util.Iterator<MLDataPair>
An iterator for the BufferedNeuralDataSet.
-
-
Constructor Summary
Constructors Constructor and Description BufferedDataSetIterator(BufferedMLDataSet theData)Construct the iterator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description booleanhasNext()MLDataPairnext()voidremove()Not supported.
-
-
-
Constructor Detail
-
BufferedDataSetIterator
public BufferedDataSetIterator(BufferedMLDataSet theData)
Construct the iterator.- Parameters:
theData- The dataset to iterate over.
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfacejava.util.Iterator<MLDataPair>- Returns:
- True if there is are more records to read.
-
next
public MLDataPair next()
- Specified by:
nextin interfacejava.util.Iterator<MLDataPair>
-
remove
public void remove()
Not supported.- Specified by:
removein interfacejava.util.Iterator<MLDataPair>
-
-
DMelt 3.0 © DataMelt by jWork.ORG