Click or drag to resize
Accord.NET (logo)

BootstrapGetPartitionSize Method

Gets the number of instances in 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 GetPartitionSize(
	int index,
	out int trainingCount,
	out int validationCount
)
Request Example View Source

Parameters

index
Type: SystemInt32
The index of the bootstrap sample.
trainingCount
Type: SystemInt32
The number of instances in the training set.
validationCount
Type: SystemInt32
The number of instances in the validation set.
See Also