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[] indices,
	int folds
)
Request Example View Source

Parameters

indices
Type: SystemInt32
An already created set of fold indices for each sample in a dataset.
folds
Type: SystemInt32
The total number of folds referenced in the indices parameter.
See Also