List of usage examples for weka.gui.experiment ExperimenterDefaults getOutputFormat
public final static ResultMatrix getOutputFormat()
From source file:adams.flow.transformer.WekaExperimentEvaluation.java
License:Open Source License
/** * Adds options to the internal list of options. *//*from w w w . j a v a2 s . co m*/ @Override public void defineOptions() { String[] list; BaseString[] str; int i; super.defineOptions(); m_OptionManager.add("tester", "tester", new PairedCorrectedTTester()); m_OptionManager.add("comparison", "comparisonField", ExperimentStatistic.PERCENT_CORRECT); m_OptionManager.add("significance", "significance", 0.05, 0.0001, 0.9999); m_OptionManager.add("test", "testBase", 0, 0, null); list = ExperimenterDefaults.getRow().split(","); str = new BaseString[list.length]; for (i = 0; i < list.length; i++) str[i] = new BaseString(list[i]); m_OptionManager.add("row", "row", str); list = ExperimenterDefaults.getColumn().split(","); str = new BaseString[list.length]; for (i = 0; i < list.length; i++) str[i] = new BaseString(list[i]); m_OptionManager.add("col", "column", str); m_OptionManager.add("swap", "swapRowsAndColumns", false); m_OptionManager.add("format", "outputFormat", ExperimenterDefaults.getOutputFormat()); m_OptionManager.add("header", "outputHeader", true); }