public class BufferedDataSet extends DataSet implements Iterator<DataSetRow>
| Constructor and Description |
|---|
BufferedDataSet(File file,
int inputSize,
int outputSize,
String delimiter)
Creates new buffered data set with specified file, input and output size.
|
BufferedDataSet(File file,
int inputSize,
String delimiter) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext()
Returns true if there are more rows, false otherwise
|
Iterator<DataSetRow> |
iterator()
Returns iterator for buffered data set
|
DataSetRow |
next()
Returns next data set row.
|
void |
remove() |
add, add, addAll, addAll, addRow, addRow, addRow, clear, contains, containsAll, createFromFile, createFromFile, createTrainingAndTestSubsets, get, getColumnName, getColumnNames, getColumnType, getColumnTypes, getFilePath, getInputSize, getLabel, getOutputSize, getRowAt, getRows, indexOf, isEmpty, isSupervised, lastIndexOf, listIterator, listIterator, load, remove, remove, removeAll, removeRowAt, retainAll, sample, save, save, saveAsTxt, set, setColumnName, setColumnNames, setColumnType, setFilePath, setLabel, shuffle, size, split, subList, toArray, toArray, toCSV, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEachRemainingequals, hashCode, replaceAll, sort, spliteratorparallelStream, removeIf, streampublic BufferedDataSet(File file, int inputSize, int outputSize, String delimiter) throws FileNotFoundException
file - datas et fileinputSize - size of input vectoroutputSize - size of outut vectordelimiter - delimiter for vector valuesFileNotFoundExceptionpublic Iterator<DataSetRow> iterator()
iterator in interface Iterable<DataSetRow>iterator in interface Collection<DataSetRow>iterator in interface List<DataSetRow>iterator in class DataSetpublic boolean hasNext()
hasNext in interface Iterator<DataSetRow>public DataSetRow next()
next in interface Iterator<DataSetRow>public void remove()
remove in interface Iterator<DataSetRow>Copyright © 2017 Neuroph Project. All rights reserved.