Class DefaultAnalysisPanel

    • Constructor Detail

      • DefaultAnalysisPanel

        public DefaultAnalysisPanel()
    • Method Detail

      • initGUI

        protected void initGUI()
        For initializing the GUI.
        Overrides:
        initGUI in class 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​(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.