Class DefaultAnalysisPanel

    • Field Detail

      • m_PanelTester

        protected adams.gui.goe.GenericObjectEditorPanel m_PanelTester
        the GOE for the tester.
      • m_PanelMatrix

        protected adams.gui.goe.GenericObjectEditorPanel m_PanelMatrix
        the GOE for the result matrix.
      • m_TextSignificance

        protected adams.gui.core.NumberTextField m_TextSignificance
        the significance.
      • m_SelectRows

        protected adams.gui.chooser.SelectOptionPanel m_SelectRows
        the resultset keys.
      • m_SelectColumns

        protected adams.gui.chooser.SelectOptionPanel m_SelectColumns
        the dataset keys.
      • m_CheckBoxSwapRowsColumns

        protected adams.gui.core.BaseCheckBox m_CheckBoxSwapRowsColumns
        for swapping rows/columns.
      • m_SelectComparisonBase

        protected adams.gui.chooser.SelectOptionPanel m_SelectComparisonBase
        the comparison base.
      • m_ComboBoxMetric

        protected adams.gui.core.BaseComboBox<String> m_ComboBoxMetric
        the combobox with the metric to evaluate.
      • m_ComboBoxResults

        protected adams.gui.core.BaseComboBox<AbstractResultsPanel> m_ComboBoxResults
        the combobox with the results panels.
      • m_ButtonAnalyze

        protected adams.gui.core.BaseButton m_ButtonAnalyze
        the analyze button.
      • m_SplitPane

        protected adams.gui.core.BaseSplitPane m_SplitPane
        the split pane.
      • m_PanelLeft

        protected JPanel m_PanelLeft
        the panel on the left.
      • m_PanelRight

        protected JPanel m_PanelRight
        the panel on the right.
      • m_Formatter

        protected adams.core.DateFormat m_Formatter
        the formatter for the history entries.
    • Constructor Detail

      • DefaultAnalysisPanel

        public DefaultAnalysisPanel()
    • Method Detail

      • initGUI

        protected void initGUI()
        For initializing the GUI.
        Overrides:
        initGUI in class adams.gui.core.BasePanel
      • getPanelRight

        public JPanel getPanelRight()
        Returns the panel on the right (for the analysis display).
        Returns:
        the panel
      • setResultMatrix

        public void setResultMatrix​(weka.experiment.ResultMatrix value)
        Sets the matrix to use.
        Parameters:
        value - the matrix
      • getResultMatrix

        public weka.experiment.ResultMatrix getResultMatrix()
        Returns the result matrix.
        Returns:
        the matrix
      • 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.
        Returns:
        the tester
      • handlesResults

        public String handlesResults​(weka.core.Instances results)
        Checks whether the results can be handled at all.
        Specified by:
        handlesResults in class AbstractAnalysisPanel
        Parameters:
        results - the results to check
        Returns:
        null if can handle, otherwise error message
      • updateButtons

        protected void updateButtons()
        Updates the buttons.
      • getAttributeIndex

        protected int getAttributeIndex​(String attName)
        Returns the attribute index for the specified attribute name.
        Parameters:
        attName - the attribute name to look up
        Returns:
        the index, -1 if not found
      • getRange

        protected String getRange​(adams.gui.chooser.SelectOptionPanel select)
        Turns the selected attributes into a range string.
        Parameters:
        select - the panel with the selection
        Returns:
        the range
      • updateComparisonBase

        protected void updateComparisonBase()
        Updates the base of comparison.
      • analyze

        protected void analyze()
        Performs the analysis.