Click or drag to resize

PLS2RegressionExecuteAnalysis Method

Performs the Partial Least Squares (PLS2) decomposition of the matrices _X and _Y.

Namespace: Altaxo.Calc.Regression.Multivariate
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
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 (target-variable) matrix (centered).
numFactors  Int32
On entry, the requested number of factors. On return, the number of factors actually used (limited by the matrix dimensions).
xLoads  IBottomExtensibleMatrixDouble
Receives the matrix of loadings of x. Should be initially empty.
yLoads  IBottomExtensibleMatrixDouble
Receives the matrix of loadings of y. Should be initially empty.
W  IBottomExtensibleMatrixDouble
Receives the matrix of x weight vectors. Should be initially empty.
V  IRightExtensibleMatrixDouble
Receives the vector/matrix of cross products. Should be initially empty.
PRESS  IExtensibleVectorDouble
If not , receives the PRESS value for each factor.
See Also