| PLS2CrossValidationDataSetData(DoubleMatrix, DoubleMatrix, Subset) Method |
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.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public void SetData(
DoubleMatrix predictorData,
DoubleMatrix responseData,
Subset testingSubset
)
Public Sub SetData (
predictorData As DoubleMatrix,
responseData As DoubleMatrix,
testingSubset As Subset
)
public:
void SetData(
DoubleMatrix^ predictorData,
DoubleMatrix^ responseData,
Subset^ testingSubset
)
member SetData :
predictorData : DoubleMatrix *
responseData : DoubleMatrix *
testingSubset : Subset -> unit
Parameters
- predictorData DoubleMatrix
- Predictor variable values.
- responseData DoubleMatrix
- Response variable values.
- testingSubset Subset
- Subset specifying the indices of the data rows
to used as the testing data. The remaining rows will be used as the training
data.
See Also