| 
            
              TrainTestDataSplitTInput, TOutput Constructor (Int32, TInput, TOutput, Double, Int32, Int32)
             | 
          
        
          
    Namespace: 
   Accord.MachineLearning.Performance
    Assembly:
   Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntaxpublic TrainTestDataSplit(
	int index,
	TInput[] inputs,
	TOutput[] outputs,
	double[] weights,
	int[] trainIndices,
	int[] testIndices
)
Public Sub New ( 
	index As Integer,
	inputs As TInput(),
	outputs As TOutput(),
	weights As Double(),
	trainIndices As Integer(),
	testIndices As Integer()
)
 Request Example
		View SourceParameters
- index
 - Type: SystemInt32
The index associated with this subset, if any. - inputs
 - Type: TInput
The input instances in this subset. - outputs
 - Type: TOutput
The output instances in this subset. - weights
 - Type: SystemDouble
The weights associated with the input instances. - trainIndices
 - Type: SystemInt32
The indices of the training instances in relation to the original dataset. - testIndices
 - Type: SystemInt32
The indices of the validation instances in relation to the original dataset. 
See Also