Class PLSRegressionModelCalculator

  • All Implemented Interfaces:
    ICalculateModel, ICalculateYHat
    Direct Known Subclasses:
    PLSBoxCoxY

    public class PLSRegressionModelCalculator
    extends ARegressionMethod<ParameterPLS>
    PLSRegressionModelCalculator

    Copyright: Actelion Ltd., Inc. All Rights Reserved This software is the proprietary information of Actelion Pharmaceuticals, Ltd. Use is subject to license terms.

    Version:
    1.0 Aug 14, 2015 MvK Start implementation
    Author:
    Modest von Korff
    • Constructor Detail

      • PLSRegressionModelCalculator

        public PLSRegressionModelCalculator()
      • PLSRegressionModelCalculator

        public PLSRegressionModelCalculator​(ParameterPLS parameterPLS)
    • Method Detail

      • setCenterData

        public void setCenterData​(boolean centerData)
        Parameters:
        centerData - the centerData to set
      • setFactors

        public void setFactors​(int factors)
      • calculateYHat

        public Matrix calculateYHat​(Matrix Xtest)
        With centering of Xtest with Xtrain.
        Parameters:
        Xtest -
        Returns:
      • calculateYHat

        public double calculateYHat​(double[] arrRow)
      • calculateYHat

        public double calculateYHat​(byte[] arrRow)
      • calculateYHat

        public double calculateYHat​(int[] arrRow)
      • calculateYHatWithoutDeCentering

        public Matrix calculateYHatWithoutDeCentering​(Matrix Xtest)
      • getB

        public Matrix getB()
        Returns:
        the b
      • getXvar

        public Matrix getXvar()
        Returns:
        the xvar
      • getYHat

        public Matrix getYHat()
        Returns:
        the yHat