|
CrossValidationTModel Constructor (Int32, 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[] labels,
int classes,
int folds
)
Public Sub New (
labels As Integer(),
classes As Integer,
folds As Integer
)
Request Example
View SourceParameters
- labels
- Type: SystemInt32
A vector containing class labels. - classes
- Type: SystemInt32
The number of different classes in labels. - folds
- Type: SystemInt32
The number of folds, usually denoted as k (default is 10).
See Also