 | KFoldsSubsetsGetTestingSubsets(DoubleMatrix, DoubleMatrix) Method |
Generates the k-fold subsets to be used for cross validation.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntaxpublic Subset[] GetTestingSubsets(
DoubleMatrix independentData,
DoubleMatrix dependentData
)
Public Function GetTestingSubsets (
independentData As DoubleMatrix,
dependentData As DoubleMatrix
) As Subset()
public:
virtual array<Subset^>^ GetTestingSubsets(
DoubleMatrix^ independentData,
DoubleMatrix^ dependentData
) sealed
abstract GetTestingSubsets :
independentData : DoubleMatrix *
dependentData : DoubleMatrix -> Subset[]
override GetTestingSubsets :
independentData : DoubleMatrix *
dependentData : DoubleMatrix -> Subset[]
Parameters
- independentData DoubleMatrix
- Matrix of independent data.
- dependentData DoubleMatrix
- Matrix of dependent data.
Return Value
SubsetArray of subsets that partition the set of row indices of the
input matrices.
Implements
ICrossValidationSubsetsGetTestingSubsets(DoubleMatrix, DoubleMatrix)
RemarksIndependent and dependent matrices should have the same number
of rows (each row represents a sample value for the variables).
See Also