PLS1CrossValidation Class 
Namespace: CenterSpace.NMath.Core
The PLS1CrossValidation type exposes the following members.
Name  Description  

PLS1CrossValidation 
Default constructor. Constructs a PLS1CrossValidation instance that uses the
"leave one out" cross validation and the Nipals algorithm.
LeaveOneOutSubsets  
PLS1CrossValidation(ICrossValidationSubsets) 
Constructs a PLS1CrossValidation instance which uses the given subset
generator and the Nipals algorithm.
 
PLS1CrossValidation(IPLS1Calc, ICrossValidationSubsets) 
Constructs a PLS1CrossValidation instance which uses the given PLS calculator
and subset generator.

Name  Description  

AverageMeanSqrError 
Gets the average of the mean square errors for each training/testing
subsets pair.
 
Calculator 
Gets and sets the PLS1 calculator to use for PLS1 calculations.
 
IsGood 
Returns true if all the PLS2 calculations were successful. If one or
more calculations failed, false is returned. The results may be examined
to determine which calculations failed.
 
Results 
Gets the results of the cross validation for each training/testing
subsets pair.
 
SubsetGenerator 
Gets and sets the subset generator to use to generate testing
and training subsets.

Name  Description  

Clone 
Creates a deep copy of this PLS1CrossValidation.
 
DoCrossValidation 
Performs cross validation on the given data using the existing PLS1
calculator and subset generator.
 
DoCrossValidationPls1 
Performs cross validation on the given data using the given PLS1
calculator and number of components.

The subsets to use in the cross validation are specifed by providing an implementation of the ICrossValidationSubsets interface. Classes that implement this interface generate training and testing subsets from PLS data.