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_Exporterm_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, setExporterexportdebug, getLogListeners, handleException, logclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitlogprotected weka.filters.Filter m_Filter
public String globalInfo()
globalInfo in class AbstractEvaluationStatisticsExporterprotected weka.filters.Filter getDefaultFilter()
protected EvaluationStatisticsExporter getDefaultExporter()
getDefaultExporter in class AbstractMetaEvaluationStatisticsExporterpublic 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.OptionHandlerlistOptions in class AbstractMetaEvaluationStatisticsExporterpublic void setOptions(String[] options) throws Exception
setOptions in interface weka.core.OptionHandlersetOptions in class AbstractMetaEvaluationStatisticsExporteroptions - the options to parseException - if parsing failspublic String[] getOptions()
getOptions in interface weka.core.OptionHandlergetOptions in class AbstractMetaEvaluationStatisticsExporterprotected 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 AbstractEvaluationStatisticsExporterstats - the statistics to exportCopyright © 2017. All Rights Reserved.