|
BootstrapCreatePartitions 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 index,
out int[] trainingSet,
out int[] validationSet
)
Public Sub CreatePartitions (
index As Integer,
<OutAttribute> ByRef trainingSet As Integer(),
<OutAttribute> ByRef validationSet As Integer()
)
Request Example
View SourceParameters
- index
- 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