Class BasicWekaSetupPanel

    • Field Detail

      • m_PanelParameters

        protected adams.gui.core.ParameterPanel m_PanelParameters
        for listing all the options.
      • m_PanelOutput

        protected OutputPanel m_PanelOutput
        the panel for the output type.
      • m_TextRepetitions

        protected adams.gui.core.NumberTextField m_TextRepetitions
        the number of repetitions.
      • m_ComboBoxClassificationRegression

        protected adams.gui.core.BaseComboBox m_ComboBoxClassificationRegression
        classification or regression.
      • m_ComboBoxEvaluation

        protected adams.gui.core.BaseComboBox<String> m_ComboBoxEvaluation
        the type of evaluation.
      • m_TextEvaluation

        protected adams.gui.core.NumberTextField m_TextEvaluation
        the evaluation parameter.
      • m_ComboBoxOrder

        protected adams.gui.core.BaseComboBox<String> m_ComboBoxOrder
        how to traverse.
      • m_TabbedPane

        protected adams.gui.core.BaseTabbedPane m_TabbedPane
        the tabbed pane for datasets and classifiers.
      • m_PanelDatasets

        protected DatasetPanel m_PanelDatasets
        for specifying the datasets.
      • m_PanelClassifiers

        protected ClassifierPanel m_PanelClassifiers
        for specifying the classifiers.
    • Constructor Detail

      • BasicWekaSetupPanel

        public BasicWekaSetupPanel()
    • Method Detail

      • initGUI

        protected void initGUI()
        Initializes the widgets.
        Overrides:
        initGUI in class adams.gui.core.BasePanel
      • finishInit

        protected void finishInit()
        finishes the initialization.
        Overrides:
        finishInit in class adams.gui.core.BasePanel
      • getSetupName

        public String getSetupName()
        Returns the name for this setup panel.
        Specified by:
        getSetupName in class AbstractSetupPanel<weka.experiment.Experiment>
        Returns:
        the name
      • createExperimentIO

        protected AbstractExperimentIO<weka.experiment.Experiment> createExperimentIO()
        Creates the handler for the IO, i.e., loading/saving of experiments.
        Specified by:
        createExperimentIO in class AbstractSetupPanel<weka.experiment.Experiment>
        Returns:
        the handler
      • getExperiment

        public weka.experiment.Experiment getExperiment()
        Returns the current experiment.
        Specified by:
        getExperiment in class AbstractSetupPanel<weka.experiment.Experiment>
        Returns:
        the experiment
      • setExperiment

        public void setExperiment​(weka.experiment.Experiment value)
        Sets the experiment to use.
        Specified by:
        setExperiment in class AbstractSetupPanel<weka.experiment.Experiment>
        Parameters:
        value - the experiment
      • handlesExperiment

        public String handlesExperiment​(weka.experiment.Experiment exp)
        Checks whether the experiment can be handled.
        Specified by:
        handlesExperiment in class AbstractSetupPanel<weka.experiment.Experiment>
        Parameters:
        exp - the experiment to check
        Returns:
        null if can handle, otherwise error message