public interface DataSetFetcher extends Serializable
DataSetIterator
to
handle the specifics of loading data in to memory.Modifier and Type | Method and Description |
---|---|
int |
cursor()
Direct access to a number represenative of iterating through a dataset
|
void |
fetch(int numExamples)
Fetches the next dataset.
|
boolean |
hasMore()
Whether the dataset has more to load
|
int |
inputColumns()
The length of a feature vector for an individual example
|
DataSet |
next()
Returns the next data applyTransformToDestination
|
void |
reset()
Returns the fetcher back to the beginning of the dataset
|
int |
totalExamples()
The total number of examples
|
int |
totalOutcomes()
The number of labels for a dataset
|
boolean hasMore()
DataSet next()
void fetch(int numExamples)
next()
just returns the last data applyTransformToDestination fetchnumExamples
- the number of examples to fetchint totalOutcomes()
int inputColumns()
int totalExamples()
void reset()
int cursor()
Copyright © 2015. All Rights Reserved.