|
SplitSetValidationTModel 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
)
Public Sub New (
size As Integer,
proportion As Double,
outputs As Integer()
)
Request Example
View SourceParameters
- 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