Class TextOutput

    • Field Detail

      • m_Tester

        protected weka.experiment.Tester m_Tester
        the tester class to use.
      • m_Significance

        protected double m_Significance
        the significance.
      • m_TestBase

        protected int m_TestBase
        the test base.
      • m_Row

        protected BaseString[] m_Row
        the row (= datasets).
      • m_Column

        protected BaseString[] m_Column
        the column (= classifiers).
      • m_SwapRowsAndColumns

        protected boolean m_SwapRowsAndColumns
        whether to swap rows and columns.
      • m_OutputFormat

        protected weka.experiment.ResultMatrix m_OutputFormat
        the output format.
      • m_OutputHeader

        protected boolean m_OutputHeader
        whether to output the header.
      • m_RunInformation

        protected boolean m_RunInformation
        whether to print the run information as well.
    • Constructor Detail

      • TextOutput

        public TextOutput()
    • Method Detail

      • setTester

        public void setTester​(weka.experiment.Tester value)
        Sets the Tester to use.
        Parameters:
        value - the Tester
      • getTester

        public weka.experiment.Tester getTester()
        Returns the Tester in use.
        Returns:
        the Tester
      • testerTipText

        public String testerTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setComparisonField

        public void setComparisonField​(ExperimentStatistic value)
        Sets the comparison field.
        Parameters:
        value - the field
      • getComparisonField

        public ExperimentStatistic getComparisonField()
        Returns the comparison field.
        Returns:
        the string
      • comparisonFieldTipText

        public String comparisonFieldTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setSignificance

        public void setSignificance​(double value)
        Sets the significance level (0-1).
        Parameters:
        value - the significance
      • getSignificance

        public double getSignificance()
        Returns the current significance level (0-1).
        Returns:
        the significance
      • significanceTipText

        public String significanceTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setTestBase

        public void setTestBase​(int value)
        Sets the index of the test base.
        Parameters:
        value - the index
      • getTestBase

        public int getTestBase()
        Returns the index of the test base.
        Returns:
        the index
      • testBaseTipText

        public String testBaseTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setRow

        public void setRow​(BaseString[] value)
        Sets the list of fields that identify a row.
        Parameters:
        value - the list of fields
      • getRow

        public BaseString[] getRow()
        Returns the list of fields that identify a row.
        Returns:
        the array of fields
      • rowTipText

        public String rowTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setColumn

        public void setColumn​(BaseString[] value)
        Sets list of fields that identify a column.
        Parameters:
        value - the list of fields
      • getColumn

        public BaseString[] getColumn()
        Returns the list of fields that identify a column.
        Returns:
        the array of fields
      • columnTipText

        public String columnTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setSwapRowsAndColumns

        public void setSwapRowsAndColumns​(boolean value)
        Sets whether to swap rows and columns.
        Parameters:
        value - true if to swap rows and columns
      • getSwapRowsAndColumns

        public boolean getSwapRowsAndColumns()
        Returns whether to swap rows and columns.
        Returns:
        true if swapping rows and columns
      • swapRowsAndColumnsTipText

        public String swapRowsAndColumnsTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setOutputFormat

        public void setOutputFormat​(weka.experiment.ResultMatrix value)
        Sets the output format to use for generating the output.
        Parameters:
        value - the format
      • getOutputFormat

        public weka.experiment.ResultMatrix getOutputFormat()
        Returns the output format in use for generating the output.
        Returns:
        the format
      • outputFormatTipText

        public String outputFormatTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setOutputHeader

        public void setOutputHeader​(boolean value)
        Sets whether to output the header of the result matrix as well.
        Parameters:
        value - true if to output the header as well
      • getOutputHeader

        public boolean getOutputHeader()
        Returns whether to output the header of the result matrix as well.
        Returns:
        true if to output the header as well
      • outputHeaderTipText

        public String outputHeaderTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setRunInformation

        public void setRunInformation​(boolean value)
        Sets whether the run information is output as well.
        Parameters:
        value - if true then the run information is output as well
      • getRunInformation

        public boolean getRunInformation()
        Returns whether the run information is output as well.
        Returns:
        true if the run information is output as well
      • runInformationTipText

        public String runInformationTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.