public abstract class AbstractMeasurementEvaluationStatisticsExporter extends AbstractFileBasedEvaluationStatisticsExporter implements FileBasedMeasurementEvaluationStatisticsExporter
Modifier and Type | Field and Description |
---|---|
protected String |
m_Measurement
the measurement to output.
|
m_File
m_Debug, m_LogListeners
Constructor and Description |
---|
AbstractMeasurementEvaluationStatisticsExporter() |
Modifier and Type | Method and Description |
---|---|
protected List<EvaluationStatistics> |
aggregate(List<EvaluationStatistics> stats)
Aggregates the stats and returns the "mean".
|
protected String |
doExport(List<EvaluationStatistics> stats)
Exports the statistics.
|
protected abstract String |
doExportAggregated(List<EvaluationStatistics> stats)
Exports the aggregated statistics.
|
protected String |
getDefaultMeasurement()
Returns the default exporters to use.
|
String |
getMeasurement()
Returns the measurement in use.
|
String[] |
getOptions()
Returns the options.
|
Enumeration<weka.core.Option> |
listOptions()
Returns an enumeration of all the available options..
|
String |
measurementTipText()
Describes this property.
|
void |
setMeasurement(String value)
Sets the measurement to use.
|
void |
setOptions(String[] options)
Sets the options.
|
export, fileTipText, getDefaultFile, getFile, setFile
globalInfo
addLogListener, debug, getLogListeners, handleException, log, removeLogListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
fileTipText, getFile, getFormatDescription, getFormatExtensions, setFile
export
addLogListener, log, removeLogListener
protected String m_Measurement
public AbstractMeasurementEvaluationStatisticsExporter()
protected String getDefaultMeasurement()
public void setMeasurement(String value)
setMeasurement
in interface FileBasedMeasurementEvaluationStatisticsExporter
value
- the measurementpublic String getMeasurement()
getMeasurement
in interface FileBasedMeasurementEvaluationStatisticsExporter
public String measurementTipText()
measurementTipText
in interface FileBasedMeasurementEvaluationStatisticsExporter
public Enumeration<weka.core.Option> listOptions()
listOptions
in interface weka.core.OptionHandler
listOptions
in class AbstractFileBasedEvaluationStatisticsExporter
public void setOptions(String[] options) throws Exception
setOptions
in interface weka.core.OptionHandler
setOptions
in class AbstractFileBasedEvaluationStatisticsExporter
options
- the options to parseException
- if parsing failspublic String[] getOptions()
getOptions
in interface weka.core.OptionHandler
getOptions
in class AbstractFileBasedEvaluationStatisticsExporter
protected List<EvaluationStatistics> aggregate(List<EvaluationStatistics> stats)
stats
- the stats to aggregateprotected abstract String doExportAggregated(List<EvaluationStatistics> stats)
stats
- the aggregated statistics to exportprotected String doExport(List<EvaluationStatistics> stats)
doExport
in class AbstractEvaluationStatisticsExporter
stats
- the statistics to exportCopyright © 2017. All Rights Reserved.