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 int
FACTORS
static double
LAMBDA
-
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 double
calculateYHat(double[] arrRow)
Matrix
calculateYHat(Matrix Xtest)
With centering of Xtest with Xtrain.Matrix
createModel(ModelXYIndex modelXYIndexTrain)
double
getLambda()
ParameterPLSBoxCox
getParameter()
void
setLambda(double lambda)
-
Methods inherited from class com.actelion.research.calc.regression.linear.pls.PLSRegressionModelCalculator
calculateModelErrorTest, calculateYHat, calculateYHat, 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:
createModel
in interfaceICalculateModel
- Overrides:
createModel
in classPLSRegressionModelCalculator
-
calculateYHat
public Matrix calculateYHat(Matrix Xtest)
Description copied from class:PLSRegressionModelCalculator
With centering of Xtest with Xtrain.- Specified by:
calculateYHat
in interfaceICalculateYHat
- Overrides:
calculateYHat
in classPLSRegressionModelCalculator
-
calculateYHat
public double calculateYHat(double[] arrRow)
- Specified by:
calculateYHat
in interfaceICalculateYHat
- Overrides:
calculateYHat
in classPLSRegressionModelCalculator
-
getParameter
public ParameterPLSBoxCox getParameter()
- Specified by:
getParameter
in interfaceICalculateModel
- Overrides:
getParameter
in classARegressionMethod<ParameterPLS>
-
-