| PLS2CrossValidationDoCrossValidation(DoubleMatrix, DoubleMatrix, Int32) Method |
Perform cross validation on the given data using the existing
calculator and subset generator.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public void DoCrossValidation(
DoubleMatrix X,
DoubleMatrix Y,
int numComponents
)
Public Sub DoCrossValidation (
X As DoubleMatrix,
Y As DoubleMatrix,
numComponents As Integer
)
public:
void DoCrossValidation(
DoubleMatrix^ X,
DoubleMatrix^ Y,
int numComponents
)
member DoCrossValidation :
X : DoubleMatrix *
Y : DoubleMatrix *
numComponents : int -> unit
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