Click or drag to resize
Accord.NET (logo)

CrossValidationTModel Constructor (Int32, Int32)

Creates a new k-fold cross-validation algorithm.

Namespace:  Accord.MachineLearning
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax
public CrossValidation(
	int size,
	int folds
)
Request Example View Source

Parameters

size
Type: SystemInt32
The total number samples in the entire dataset.
folds
Type: SystemInt32
The number of folds, usually denoted as k (default is 10).
See Also