Class PLSBoxCoxY
- java.lang.Object
-
- com.actelion.research.calc.regression.ARegressionMethod<ParameterPLS>
-
- com.actelion.research.calc.regression.linear.pls.PLSRegressionModelCalculator
-
- com.actelion.research.calc.regression.linear.pls.boxcox.PLSBoxCoxY
-
- All Implemented Interfaces:
ICalculateModel,ICalculateYHat
public class PLSBoxCoxY extends PLSRegressionModelCalculator
PLSBoxCoxYModest v. Korff
Created by korffmo1 on 06.12.18.
-
-
Field Summary
Fields Modifier and Type Field Description static intFACTORSstatic doubleLAMBDA-
Fields inherited from class com.actelion.research.calc.regression.ARegressionMethod
parameterRegressionMethod
-
-
Constructor Summary
Constructors Constructor Description PLSBoxCoxY()PLSBoxCoxY(ParameterPLSBoxCox parameterPLSBoxCox)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublecalculateYHat(double[] arrRow)MatrixcalculateYHat(Matrix Xtest)With centering of Xtest with Xtrain.MatrixcreateModel(ModelXYIndex modelXYIndexTrain)doublegetLambda()ParameterPLSBoxCoxgetParameter()voidsetLambda(double lambda)-
Methods inherited from class com.actelion.research.calc.regression.linear.pls.PLSRegressionModelCalculator
calculateModelErrorTest, calculateYHatWithoutDeCentering, getB, getT, getXvar, getYHat, setCenterData, setFactors
-
Methods inherited from class com.actelion.research.calc.regression.ARegressionMethod
decodeProperties2Parameter, getName, getProgressController, getProperties, setParameterRegressionMethod, setProgressController
-
-
-
-
Field Detail
-
FACTORS
public static final int FACTORS
- See Also:
- Constant Field Values
-
LAMBDA
public static final double LAMBDA
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PLSBoxCoxY
public PLSBoxCoxY()
-
PLSBoxCoxY
public PLSBoxCoxY(ParameterPLSBoxCox parameterPLSBoxCox)
-
-
Method Detail
-
getLambda
public double getLambda()
-
setLambda
public void setLambda(double lambda)
-
createModel
public Matrix createModel(ModelXYIndex modelXYIndexTrain)
- Specified by:
createModelin interfaceICalculateModel- Overrides:
createModelin classPLSRegressionModelCalculator
-
calculateYHat
public Matrix calculateYHat(Matrix Xtest)
Description copied from class:PLSRegressionModelCalculatorWith centering of Xtest with Xtrain.- Specified by:
calculateYHatin interfaceICalculateYHat- Overrides:
calculateYHatin classPLSRegressionModelCalculator
-
calculateYHat
public double calculateYHat(double[] arrRow)
- Specified by:
calculateYHatin interfaceICalculateYHat- Overrides:
calculateYHatin classPLSRegressionModelCalculator
-
getParameter
public ParameterPLSBoxCox getParameter()
- Specified by:
getParameterin interfaceICalculateModel- Overrides:
getParameterin classARegressionMethod<ParameterPLS>
-
-