Click or drag to resize

PLS1CrossValidationDoCrossValidationPls1 Method

Performs cross validation on the given data using the given PLS1 calculator and number of components.

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

Parameters

X
Type: CenterSpace.NMath.CoreDoubleMatrix
Predictor data. Matrix is number of samples rows by number of independent variables columns.
y
Type: CenterSpace.NMath.CoreDoubleVector
Response data. Vector contains number of samples elements.
calculator
Type: CenterSpace.NMath.CoreIPLS1Calc
Instance of a class implementing the IPLS1Calc interface. Used to perform the PLS1 calculations during cross validation.
numComponents
Type: SystemInt32
Implementation of the ICrossValidationSubsets interface that will be used to generate the training and testing subsets.
See Also