Click or drag to resize

PLS2CrossValidationDoCrossValidation(DoubleMatrix, DoubleMatrix, Int32) Method

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

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

Parameters

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