|
CrossValidationTModelCreatePartitions Method
|
Gets the indices for the training and validation
sets for the specified validation fold index.
Namespace:
Accord.MachineLearning
Assembly:
Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax public void CreatePartitions(
int validationFoldIndex,
out int[] trainingSet,
out int[] validationSet
)
Public Sub CreatePartitions (
validationFoldIndex As Integer,
<OutAttribute> ByRef trainingSet As Integer(),
<OutAttribute> ByRef validationSet As Integer()
)
Request Example
View SourceParameters
- validationFoldIndex
- Type: SystemInt32
The index of the validation fold. - trainingSet
- Type: SystemInt32
The indices for the observations in the training set. - validationSet
- Type: SystemInt32
The indices for the observations in the validation set.
See Also