| LeaveOneOutSubsetsGetTestingSubsets(DataFrame, DataFrame) Method |
Generates the leave-one-out subsets for use in cross validation.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public Subset[] GetTestingSubsets(
DataFrame responseData,
DataFrame predictorData
)
Public Function GetTestingSubsets (
responseData As DataFrame,
predictorData As DataFrame
) As Subset()
public:
virtual array<Subset^>^ GetTestingSubsets(
DataFrame^ responseData,
DataFrame^ predictorData
) sealed
abstract GetTestingSubsets :
responseData : DataFrame *
predictorData : DataFrame -> Subset[]
override GetTestingSubsets :
responseData : DataFrame *
predictorData : DataFrame -> Subset[]
Parameters
- responseData DataFrame
- DataFrame of dependent data.
- predictorData DataFrame
- DataFrame of independent data.
Return Value
SubsetIf the data contains
n rows,
n subsets are returned.
Each row index is left out of exactly one subset.
Implements
ICrossValidationSubsetsGetTestingSubsets(DataFrame, DataFrame)Remarks Independent and dependent matrices should contain the same
number of rows (each row represents a sample value for the variables).
See Also