public class LocalDatasetProvider extends AbstractDatasetProvider
| Modifier and Type | Field and Description |
|---|---|
protected int |
m_Current
the iterator index.
|
protected List<File> |
m_Datasets
the files to load.
|
m_Debug, m_LogListeners| Constructor and Description |
|---|
LocalDatasetProvider() |
| Modifier and Type | Method and Description |
|---|---|
String |
datasetsTipText()
Describes this property.
|
File[] |
getDatasets()
Returns the datasets to use in the experiment.
|
String[] |
getOptions()
Returns the options.
|
String |
globalInfo()
Description to be displayed in the GUI.
|
boolean |
hasNext()
Returns whether another dataset is available.
|
String |
initialize()
Initializes the provider to start providing datasets from scratch.
|
Enumeration<weka.core.Option> |
listOptions()
Returns an enumeration of all the available options..
|
weka.core.Instances |
next()
Returns the next dataset.
|
void |
setDatasets(File[] value)
Sets the datasets to use in the experiment.
|
void |
setOptions(String[] options)
Sets the options.
|
finish, removeaddLogListener, debug, getLogListeners, handleException, log, removeLogListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingaddLogListener, log, removeLogListenerpublic String globalInfo()
globalInfo in class AbstractDatasetProviderpublic void setDatasets(File[] value)
value - the datasetspublic File[] getDatasets()
public String datasetsTipText()
public Enumeration<weka.core.Option> listOptions()
listOptions in interface weka.core.OptionHandlerlistOptions in class AbstractDatasetProviderpublic void setOptions(String[] options) throws Exception
setOptions in interface weka.core.OptionHandlersetOptions in class AbstractDatasetProvideroptions - the optionsException - if parsing of options failspublic String[] getOptions()
getOptions in interface weka.core.OptionHandlergetOptions in class AbstractDatasetProviderpublic String initialize()
initialize in interface DatasetProviderinitialize in class AbstractDatasetProviderpublic boolean hasNext()
public weka.core.Instances next()
Copyright © 2017. All Rights Reserved.