Click or drag to resize

PLS2CrossValidationData Class

Class PLS2CrossValidationData divides Partial Least Squares (PLS) data into training and testing subsets.
Inheritance Hierarchy
SystemObject
  CenterSpace.NMath.CorePLS2CrossValidationData

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
[SerializableAttribute]
public class PLS2CrossValidationData : ICloneable

The PLS2CrossValidationData type exposes the following members.

Constructors
 NameDescription
Public methodPLS2CrossValidationData Constructs a PLS2CrossValidationData instance.
Public methodPLS2CrossValidationData(DoubleMatrix, DoubleMatrix, Subset) Constructs a PLS2CrossValidationData instance from the given PLS data and testing subset. The training subset will be the data not contained in the testing subset.
Top
Properties
 NameDescription
Public propertyNumTestingSamples Gets the number of samples that will be used for testing.
Public propertyNumTrainingSamples Gets the number of samples that will be used for training.
Public propertyPredictorTestingSet Gets and sets the matrix of predictor variable values comprising the testing set.
Public propertyPredictorTrainingSet Gets and sets the matrix of predictor variable values comprising the training set.
Public propertyResponseTestingSet Gets and sets the matrix of response variable values comprising the testing set.
Public propertyResponseTrainingSet Gets and sets the matrix of response variable values comprising the training set.
Top
Methods
 NameDescription
Public methodClone Creates a deep copy of this PLS2CrossValidationData.
Public methodSetData(DoubleMatrix, DoubleMatrix, Subset) Sets the cross validation data according the given PLS data and testing subset. The training subset will be the data not contained in the testing subset.
Public methodSetData(DoubleMatrix, DoubleMatrix, Subset, Boolean) Sets the cross validation data according the given PLS data and testing subset. The training subset will be the data not contained in the testing subset.
Top
See Also