Class AbstractSingleClassPLS

    • Field Detail

      • m_Missing

        protected weka.filters.Filter m_Missing
        for replacing missing values
      • m_Filter

        protected weka.filters.Filter m_Filter
        for centering the data
      • m_ClassMean

        protected double m_ClassMean
        the class mean.
      • m_ClassStdDev

        protected double m_ClassStdDev
        the class stddev.
    • Constructor Detail

      • AbstractSingleClassPLS

        public AbstractSingleClassPLS()
    • Method Detail

      • reset

        public void reset()
        Resets the scheme.
        Overrides:
        reset in class AbstractPLS
      • determineOutputFormat

        public weka.core.Instances determineOutputFormat​(weka.core.Instances input)
                                                  throws Exception
        Determines the output format based on the input format and returns this.
        Specified by:
        determineOutputFormat in class AbstractPLS
        Parameters:
        input - the input format to base the output format on
        Returns:
        the output format
        Throws:
        Exception - in case the determination goes wrong
      • preTransform

        protected weka.core.Instances preTransform​(weka.core.Instances instances,
                                                   Map<String,​Object> params)
                                            throws Exception
        Preprocesses the data.
        Specified by:
        preTransform in class AbstractPLS
        Parameters:
        instances - the data to process
        params - additional parameters
        Returns:
        the preprocessed data
        Throws:
        Exception
      • postTransform

        protected weka.core.Instances postTransform​(weka.core.Instances instances,
                                                    Map<String,​Object> params)
                                             throws Exception
        Postprocesses the data.
        Specified by:
        postTransform in class AbstractPLS
        Parameters:
        instances - the data to process
        params - additional parameters
        Returns:
        the postprocessed data
        Throws:
        Exception