Click or drag to resize

KFoldsSubsetsGetTestingSubsets(DoubleMatrix, DoubleMatrix) Method

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

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public Subset[] GetTestingSubsets(
	DoubleMatrix independentData,
	DoubleMatrix dependentData
)

Parameters

independentData  DoubleMatrix
Matrix of independent data.
dependentData  DoubleMatrix
Matrix of dependent data.

Return Value

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

Implements

ICrossValidationSubsetsGetTestingSubsets(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