PLS2RegressionExecuteAnalysis Method |
Partial least squares (PLS) decomposition of the matrizes X and Y.
Namespace: Altaxo.Calc.Regression.MultivariateAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static void ExecuteAnalysis(
IROMatrix<double> _X,
IROMatrix<double> _Y,
ref int numFactors,
IBottomExtensibleMatrix<double> xLoads,
IBottomExtensibleMatrix<double> yLoads,
IBottomExtensibleMatrix<double> W,
IRightExtensibleMatrix<double> V,
IExtensibleVector<double> PRESS
)
Parameters
- _X IROMatrixDouble
- The X ("spectrum") matrix, centered and preprocessed.
- _Y IROMatrixDouble
- The Y ("concentration") matrix (centered).
- numFactors Int32
- Number of factors to calculate.
- xLoads IBottomExtensibleMatrixDouble
- Returns the matrix of eigenvectors of X. Should be initially empty.
- yLoads IBottomExtensibleMatrixDouble
- Returns the matrix of eigenvectors of Y. Should be initially empty.
- W IBottomExtensibleMatrixDouble
- Returns the matrix of weighting values. Should be initially empty.
- V IRightExtensibleMatrixDouble
- Returns the vector of cross products. Should be initially empty.
- PRESS IExtensibleVectorDouble
- If not null, the PRESS value of each factor is stored (vertically) here.
See Also