Generates the leave-one-out subsets for use in cross validation.
Namespace:
CenterSpace.NMath.StatsAssembly: NMathStats (in NMathStats.dll) Version: 3.4.0.0
Syntax
| C# |
|---|
public Subset[] GetTestingSubsets( DataFrame responseData, DataFrame predictorData ) |
| Visual Basic (Declaration) |
|---|
Public Function GetTestingSubsets ( _ responseData As DataFrame, _ predictorData As DataFrame _ ) As Subset() |
| Visual C++ |
|---|
public: virtual array<Subset^>^ GetTestingSubsets( DataFrame^ responseData, DataFrame^ predictorData ) sealed |
Parameters
- responseData
- Type: CenterSpace.NMath.Stats..::.DataFrame
DataFrame of dependent data.
- predictorData
- Type: CenterSpace.NMath.Stats..::.DataFrame
DataFrame of independent data.
Return Value
If the data contains n rows, n subsets are returned. Each row index is left out of exactly one subset.Implements
ICrossValidationSubsets..::.GetTestingSubsets(DataFrame, DataFrame)
Remarks
Independent and dependent matrices should contain the same
number of rows (each row represents a sample value for the variables).