Click or drag to resize

PLS1NipalsAlgorithmCalculate Method

Calculates a partial least squares from the given data and number of components.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public override void Calculate(
	DoubleMatrix X,
	DoubleVector y,
	int numComponents
)

Parameters

X  DoubleMatrix
Predictor data. Matrix is number of samples by number of predictor variables.
y  DoubleVector
Response data. Length of the vector is the number of samples. This length must match the number of rows in the predictor matrix.
numComponents  Int32
Number of components.
See Also