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(
	DataFrame independentData,
	DataFrame dependentData
)
Visual Basic (Declaration)
Public Function GetTestingSubsets ( _
	independentData As DataFrame, _
	dependentData As DataFrame _
) As Subset()
Visual C++
public:
virtual array<Subset^>^ GetTestingSubsets(
	DataFrame^ independentData, 
	DataFrame^ dependentData
) sealed

Parameters

independentData
Type: CenterSpace.NMath.Stats..::.DataFrame
DataFrame of independent data.
dependentData
Type: CenterSpace.NMath.Stats..::.DataFrame
DataFrame of dependent data.

Return Value

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

Implements

ICrossValidationSubsets..::.GetTestingSubsets(DataFrame, DataFrame)

Remarks

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

See Also