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, remove
addLogListener, debug, getLogListeners, handleException, log, removeLogListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
addLogListener, log, removeLogListener
public String globalInfo()
globalInfo
in class AbstractDatasetProvider
public void setDatasets(File[] value)
value
- the datasetspublic File[] getDatasets()
public String datasetsTipText()
public Enumeration<weka.core.Option> listOptions()
listOptions
in interface weka.core.OptionHandler
listOptions
in class AbstractDatasetProvider
public void setOptions(String[] options) throws Exception
setOptions
in interface weka.core.OptionHandler
setOptions
in class AbstractDatasetProvider
options
- the optionsException
- if parsing of options failspublic String[] getOptions()
getOptions
in interface weka.core.OptionHandler
getOptions
in class AbstractDatasetProvider
public String initialize()
initialize
in interface DatasetProvider
initialize
in class AbstractDatasetProvider
public boolean hasNext()
public weka.core.Instances next()
Copyright © 2017. All Rights Reserved.