Class VCPLS

    • Field Detail

      • m_VCPLS

        protected com.github.waikatodatamining.matrix.algorithm.pls.VCPLS m_VCPLS
        the actual algorithm.
      • m_Lambda

        protected double m_Lambda
        the lambda value.
    • Constructor Detail

      • VCPLS

        public VCPLS()
    • Method Detail

      • setLambda

        public void setLambda​(double value)
        Sets the lambda parameter.
        Parameters:
        value - the lambda
      • getLambda

        public double getLambda()
        Returns the lambda parameter.
        Returns:
        the lambda
      • lambdaTipText

        public String lambdaTipText()
        Returns the tip text for this property
        Returns:
        tip text for this property suitable for displaying in the explorer/experimenter gui
      • getMatrix

        public weka.core.matrix.Matrix getMatrix​(String name)
        Returns the matrix with the specified name.
        Specified by:
        getMatrix in interface GenericPLSMatrixAccess
        Specified by:
        getMatrix in class AbstractPLS
        Parameters:
        name - the name of the matrix
        Returns:
        the matrix, null if not available
      • doTransform

        protected weka.core.Instances doTransform​(weka.core.Instances data,
                                                  Map<String,​Object> params)
                                           throws Exception
        Transforms the data, initializes if necessary.
        Specified by:
        doTransform in class AbstractPLS
        Parameters:
        data - the data to use
        params - additional parameters
        Returns:
        the transformed data
        Throws:
        Exception