Click or drag to resize
Accord.NET (logo)

SplitSetValidation Constructor (Int32, Double, Int32)

Creates a new split-set validation algorithm.

Namespace:  Accord.MachineLearning
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax
public SplitSetValidation(
	int size,
	double proportion,
	int[] outputs
)
Request Example View Source

Parameters

size
Type: SystemInt32
The total number of available samples.
proportion
Type: SystemDouble
The desired proportion of samples in the training set in comparison with the testing set.
outputs
Type: SystemInt32
The output labels to be balanced between the sets.
See Also