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, add, addRow, clear, createFromFile, createFromFile, createTrainingAndTestSubsets, get, getColumnName, getColumnNames, getColumnType, getColumnTypes, getFilePath, getInputSize, getItems, getLabel, getOutputSize, getRowAt, getRows, indexOf, isEmpty, isSupervised, load, remove, remove, removeRowAt, sample, save, save, saveAsTxt, setColumnName, setColumnNames, setColumnType, setFilePath, setLabel, shuffle, size, split, split, split, split, toCSV, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEachRemainingforEach, spliteratorpublic 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 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 © 2019 Neuroph Project. All rights reserved.