- getDataSet
returns the full dataset with the specified class index set, can be null in case
of an error.
- <init>
Initializes the datasource with the given Loader.
- read
convencience method for loading a dataset in batch mode.
- getStructure
returns the structure of the data, with the defined class index.
- getLoader
returns the determined loader, null if the DataSource was initialized with data
alone and not a file
- hasMoreElements
returns whether there are more Instance objects in the data.
- isArff
returns whether the extension of the location is likely to be of ARFF format,
i.e., ending in ".arff
- isIncremental
returns whether the loader is an incremental one.
- nextElement
returns the next element and sets the specified dataset, null if none available.
- reset
resets the loader.