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