@Deprecated public class CSVDataFetcher extends BaseDataFetcher
curr, cursor, inputColumns, log, numOutcomes, totalExamples
Constructor and Description |
---|
CSVDataFetcher(File f,
int labelColumn)
Deprecated.
Constructs a csv data fetcher with the specified
label column skipping no lines
|
CSVDataFetcher(File f,
int labelColumn,
int skipLines)
Deprecated.
Constructs a csv data fetcher with the specified number of lines to skip
|
CSVDataFetcher(InputStream is,
int labelColumn)
Deprecated.
Constructs a csv data fetcher with the specified label column
skipping no lines
|
CSVDataFetcher(InputStream is,
int labelColumn,
int skipLines)
Deprecated.
Constructs a csv data fetcher with the specified number of lines to skip
|
Modifier and Type | Method and Description |
---|---|
void |
fetch(int numExamples)
Deprecated.
Fetches the next dataset.
|
createInputMatrix, createOutputMatrix, createOutputVector, cursor, hasMore, initializeCurrFromList, inputColumns, next, reset, totalExamples, totalOutcomes
public CSVDataFetcher(InputStream is, int labelColumn)
is
- the input stream to read fromlabelColumn
- the index of the column (0 based)public CSVDataFetcher(File f, int labelColumn) throws IOException
f
- the file to read fromlabelColumn
- the index of the column (0 based)IOException
public CSVDataFetcher(InputStream is, int labelColumn, int skipLines)
is
- the input stream to read fromlabelColumn
- the index of the column (0 based)skipLines
- the number of lines to skippublic CSVDataFetcher(File f, int labelColumn, int skipLines) throws IOException
f
- the file to read fromlabelColumn
- the index of the column (0 based)skipLines
- the number of lines to skipIOException
public void fetch(int numExamples)
BaseDataFetcher.next()
just returns the last data applyTransformToDestination fetchnumExamples
- the number of examples to fetchCopyright © 2015. All Rights Reserved.