Click or drag to resize

LeaveOneOutSubsetsGetTestingSubsets Method (DoubleMatrix, DoubleMatrix)

Generates the leave-one-out subsets for use in cross validation.

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

Parameters

predictorData
Type: CenterSpace.NMath.CoreDoubleMatrix
Matrix of independent data.
responseData
Type: CenterSpace.NMath.CoreDoubleMatrix
Matrix of dependent data.

Return Value

Type: Subset
If the data contains n rows, n subsets are returned. Each row index is left out of exactly one subset.

Implements

ICrossValidationSubsetsGetTestingSubsets(DoubleMatrix, DoubleMatrix)
Remarks
Independent and dependent matrices should contain the same number of rows (each row represents a sample value for the variables).
See Also