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.Stats
Assembly:  NMathStats (in NMathStats.dll) Version: 3.4.0.0

Syntax

C#
public void SetData(
	DoubleMatrix predictorData,
	DoubleMatrix responseData,
	Subset testingSubset
)
Visual Basic (Declaration)
Public Sub SetData ( _
	predictorData As DoubleMatrix, _
	responseData As DoubleMatrix, _
	testingSubset As Subset _
)
Visual C++
public:
void SetData(
	DoubleMatrix^ predictorData, 
	DoubleMatrix^ responseData, 
	Subset^ testingSubset
)

Parameters

predictorData
Type: CenterSpace.NMath.Core..::.DoubleMatrix
Predictor variable values.
responseData
Type: CenterSpace.NMath.Core..::.DoubleMatrix
Response variable values.
testingSubset
Type: CenterSpace.NMath.Stats..::.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