Click or drag to resize
Accord.NET (logo)

CrossValidationTModelGetPartitionSize 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.7.0
Syntax
public void GetPartitionSize(
	int validationFoldIndex,
	out int trainingCount,
	out int validationCount
)
Request Example View Source

Parameters

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