Generates the k-fold subsets to be used for cross validation.

Namespace:  CenterSpace.NMath.Stats
Assembly:  NMathStats (in NMathStats.dll) Version: 3.4.0.0

Syntax

C#
public Subset[] GetTestingSubsets(
	DoubleMatrix independentData,
	DoubleMatrix dependentData
)
Visual Basic (Declaration)
Public Function GetTestingSubsets ( _
	independentData As DoubleMatrix, _
	dependentData As DoubleMatrix _
) As Subset()
Visual C++
public:
virtual array<Subset^>^ GetTestingSubsets(
	DoubleMatrix^ independentData, 
	DoubleMatrix^ dependentData
) sealed

Parameters

independentData
Type: CenterSpace.NMath.Core..::.DoubleMatrix
Matrix of independent data.
dependentData
Type: CenterSpace.NMath.Core..::.DoubleMatrix
Matrix of dependent data.

Return Value

Array of subsets that partition the set of row indices of the input matrices.

Implements

ICrossValidationSubsets..::.GetTestingSubsets(DoubleMatrix, DoubleMatrix)

Remarks

Independent and dependent matrices should have the same number of rows (each row represents a sample value for the variables).

See Also