Class PartialLeastSquaresTab

    • Field Detail

      • m_SplitPane

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

        protected JPanel m_PanelLeft
        the left panel.
      • m_PanelRight

        protected JPanel m_PanelRight
        the right panel.
      • m_PanelParameters

        protected adams.gui.core.ParameterPanel m_PanelParameters
        the parameter panel.
      • m_ComboBoxDatasets

        protected adams.gui.core.BaseComboBox<String> m_ComboBoxDatasets
        the datasets.
      • m_TextAttributeRange

        protected adams.gui.core.BaseTextField m_TextAttributeRange
        the attribute range.
      • m_PanelGOE

        protected adams.gui.goe.GenericObjectEditorPanel m_PanelGOE
        the algorithm.
      • m_TextAdditionalAttributes

        protected adams.gui.core.BaseTextField m_TextAdditionalAttributes
        the additional attribute range.
      • m_ButtonStart

        protected adams.gui.core.BaseButton m_ButtonStart
        the button to start PLS.
      • m_ButtonStop

        protected adams.gui.core.BaseButton m_ButtonStop
        the button to stop PLS.
      • m_TabbedPanePlots

        protected adams.gui.core.BaseTabbedPane m_TabbedPanePlots
        the tabbed pane for the plots.
      • m_PanelLoadings

        protected adams.gui.visualization.stats.scatterplot.ScatterPlot m_PanelLoadings
        the loadings plot.
      • m_PanelScores

        protected adams.gui.visualization.stats.scatterplot.ScatterPlot m_PanelScores
        the scores plot.
      • m_PanelWeights

        protected adams.flow.sink.sequenceplotter.SequencePlotterPanel m_PanelWeights
        the plot of the loadings.
    • Constructor Detail

      • PartialLeastSquaresTab

        public PartialLeastSquaresTab()
    • Method Detail

      • initGUI

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

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

        protected String canVisualize()
        Returns whether data can be visualized.
        Returns:
        null if can visualize, otherwise error message
      • updateButtons

        protected void updateButtons()
        Updates the buttons.
      • getAdditionalAttributeIndices

        protected int[] getAdditionalAttributeIndices​(weka.core.Instances data)
        Returns the additional attribute indices.
        Parameters:
        data - the data to use
        Returns:
        the indices
      • addAdditionalAttributes

        protected void addAdditionalAttributes​(adams.data.spreadsheet.SpreadSheet sheet,
                                               weka.core.Instances data,
                                               int[] additional)
        Adds the additional columns from the Instances to the spreadsheet.
        Parameters:
        sheet - the spreadsheet to extend
        data - the data to use
        additional - the additional attribute indices to add
      • startExecution

        protected void startExecution()
        Generates PLS visualization.
      • doDeserialize

        protected void doDeserialize​(Map<String,​Object> data,
                                     adams.core.MessageCollection errors)
        Restores the objects.
        Overrides:
        doDeserialize in class AbstractInvestigatorTab
        Parameters:
        data - the data to restore
        errors - for storing errors