Click or drag to resize

SparsePlsDaCalculate(DoubleMatrix, Factor, Int32, Int32) Method

Performs the sparse Partial Least squares calculation for the given data.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public void Calculate(
	DoubleMatrix X,
	Factor yFactor,
	int numComponents = 2,
	int[] keepX = null
)

Parameters

X  DoubleMatrix
Matrix of predictor variables.
yFactor  Factor
Factor class for the discrete observation variable.
numComponents  Int32  (Optional)
The number of components to keep in the model.
keepX  Int32  (Optional)
numeric vector of length ncomp, the number of variables to keep in X-loadings. A null value (the default) keeps all variables in the model.
See Also