public class WekaFilter extends AbstractMetaEvaluationStatisticsExporter
Modifier and Type | Field and Description |
---|---|
protected weka.filters.Filter |
m_Filter
the filter to apply to the data before passing it on to the base exporter.
|
m_Exporter
m_Debug, m_LogListeners
Constructor and Description |
---|
WekaFilter() |
Modifier and Type | Method and Description |
---|---|
protected String |
doExport(List<EvaluationStatistics> stats)
Exports the statistics.
|
protected List<EvaluationStatistics> |
filter(List<EvaluationStatistics> stats)
Filters the statistics using the specified filter.
|
String |
filterTipText()
Describes this property.
|
protected List<EvaluationStatistics> |
fromInstances(weka.core.Instances data)
Converts the Instances back into statistics.
|
protected EvaluationStatisticsExporter |
getDefaultExporter()
Returns the default exporter to use.
|
protected weka.filters.Filter |
getDefaultFilter()
Returns the default keys used for aggregation.
|
weka.filters.Filter |
getFilter()
Returns the filter to use.
|
String[] |
getOptions()
Returns the options.
|
String |
globalInfo()
Description to be displayed in the GUI.
|
Enumeration<weka.core.Option> |
listOptions()
Returns an enumeration of all the available options..
|
void |
setFilter(weka.filters.Filter value)
Sets the filter to use.
|
void |
setOptions(String[] options)
Sets the options.
|
protected weka.core.Instances |
toInstances(List<EvaluationStatistics> stats)
Turns the statistics into Instances.
|
addLogListener, exporterTipText, getExporter, removeLogListener, setExporter
export
debug, getLogListeners, handleException, log
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
log
protected weka.filters.Filter m_Filter
public String globalInfo()
globalInfo
in class AbstractEvaluationStatisticsExporter
protected weka.filters.Filter getDefaultFilter()
protected EvaluationStatisticsExporter getDefaultExporter()
getDefaultExporter
in class AbstractMetaEvaluationStatisticsExporter
public void setFilter(weka.filters.Filter value)
value
- the filterpublic weka.filters.Filter getFilter()
public String filterTipText()
public Enumeration<weka.core.Option> listOptions()
listOptions
in interface weka.core.OptionHandler
listOptions
in class AbstractMetaEvaluationStatisticsExporter
public void setOptions(String[] options) throws Exception
setOptions
in interface weka.core.OptionHandler
setOptions
in class AbstractMetaEvaluationStatisticsExporter
options
- the options to parseException
- if parsing failspublic String[] getOptions()
getOptions
in interface weka.core.OptionHandler
getOptions
in class AbstractMetaEvaluationStatisticsExporter
protected weka.core.Instances toInstances(List<EvaluationStatistics> stats)
stats
- the statistics to convertprotected List<EvaluationStatistics> fromInstances(weka.core.Instances data)
data
- the data to convertprotected List<EvaluationStatistics> filter(List<EvaluationStatistics> stats)
stats
- the stats to filterprotected String doExport(List<EvaluationStatistics> stats)
doExport
in class AbstractEvaluationStatisticsExporter
stats
- the statistics to exportCopyright © 2017. All Rights Reserved.