Calculates the PLS2 for the given predictor and response matrices and the given number of components.

Namespace:  CenterSpace.NMath.Stats
Assembly:  NMathStats (in NMathStats.dll) Version: 3.4.0.0

Syntax

C#
public override void Calculate(
	DoubleMatrix X,
	DoubleMatrix Y,
	int numComponents
)
Visual Basic (Declaration)
Public Overrides Sub Calculate ( _
	X As DoubleMatrix, _
	Y As DoubleMatrix, _
	numComponents As Integer _
)
Visual C++
public:
virtual void Calculate(
	DoubleMatrix^ X, 
	DoubleMatrix^ Y, 
	int numComponents
) override

Parameters

X
Type: CenterSpace.NMath.Core..::.DoubleMatrix
n case by p variables predictor matrix.
Y
Type: CenterSpace.NMath.Core..::.DoubleMatrix
n case by m variables response matrix.
numComponents
Type: System..::.Int32
Number of components (or eigenvectors) to use. Must be less than the number of predictory variables, p.

See Also