Click or drag to resize

PLS1CrossValidationDoCrossValidation Method

Performs cross validation on the given data using the existing PLS1 calculator and subset generator.

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


X  DoubleMatrix
Predictor data. Matrix is number of samples rows by number of independent variables columns.
y  DoubleVector
Response data. vector is number of samples in length.
numComponents  Int32
Number of components (a.k.a. latent vectors) to use in the PLS1 calculation.
See Also