Interface DataSetFetcher
-
- All Superinterfaces:
Serializable
@Deprecated public interface DataSetFetcher extends Serializable
Deprecated.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description intcursor()Deprecated.Direct access to a number represenative of iterating through a datasetvoidfetch(int numExamples)Deprecated.Fetches the next dataset.booleanhasMore()Deprecated.Whether the dataset has more to loadintinputColumns()Deprecated.The length of a feature vector for an individual exampleDataSetnext()Deprecated.Returns the next data applyTransformToDestinationvoidreset()Deprecated.Returns the fetcher back to the beginning of the datasetinttotalExamples()Deprecated.The total number of examplesinttotalOutcomes()Deprecated.The number of labels for a dataset
-
-
-
Method Detail
-
hasMore
boolean hasMore()
Deprecated.Whether the dataset has more to load- Returns:
- whether the data applyTransformToDestination has more to load
-
next
DataSet next()
Deprecated.Returns the next data applyTransformToDestination- Returns:
- the next dataset
-
fetch
void fetch(int numExamples)
Deprecated.Fetches the next dataset. You need to call this to get a new dataset, otherwisenext()just returns the last data applyTransformToDestination fetch- Parameters:
numExamples- the number of examples to fetch
-
totalOutcomes
int totalOutcomes()
Deprecated.The number of labels for a dataset- Returns:
- the number of labels for a dataset
-
inputColumns
int inputColumns()
Deprecated.The length of a feature vector for an individual example- Returns:
- the length of a feature vector for an individual example
-
totalExamples
int totalExamples()
Deprecated.The total number of examples- Returns:
- the total number of examples
-
reset
void reset()
Deprecated.Returns the fetcher back to the beginning of the dataset
-
cursor
int cursor()
Deprecated.Direct access to a number represenative of iterating through a dataset- Returns:
- a cursor similar to an index
-
-