Class PLS

    • Field Detail

      • m_AttributeRange

        protected WekaAttributeRange m_AttributeRange
        the range of attributes to work.
      • m_Algorithm

        protected AbstractPLS m_Algorithm
        the algorithm to use.
      • m_Loadings

        protected SpreadSheet m_Loadings
        the loadings.
    • Constructor Detail

      • PLS

        public PLS()
    • Method Detail

      • setAttributeRange

        public void setAttributeRange​(WekaAttributeRange value)
        Sets the attribute range parameter.
        Parameters:
        value - the range
      • getAttributeRange

        public WekaAttributeRange getAttributeRange()
        Returns the attribute range parameter.
        Returns:
        the range
      • attributeRangeTipText

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

        public void setAlgorithm​(AbstractPLS value)
        Sets the algorithm to use.
        Parameters:
        value - the algorithm
      • getAlgorithm

        public AbstractPLS getAlgorithm()
        Returns the algorithm to use.
        Returns:
        the algorithm
      • algorithmTipText

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

        protected void check​(weka.core.Instances data)
        Hook method for checks.
        Overrides:
        check in class AbstractAnalysis<weka.core.Instances>
        Parameters:
        data - the data to check
      • doAnalyze

        protected String doAnalyze​(weka.core.Instances data)
                            throws Exception
        Performs the actual analysis.
        Specified by:
        doAnalyze in class AbstractAnalysis<weka.core.Instances>
        Parameters:
        data - the data to analyze
        Returns:
        null if successful, otherwise error message
        Throws:
        Exception - if analysis fails
      • getLoadings

        public SpreadSheet getLoadings()
        Returns the loadings.
        Returns:
        the loadings, null if not available
      • getScores

        public SpreadSheet getScores()
        Returns the scores.
        Returns:
        the scores, null if not available