Click or drag to resize
Accord.NET (logo)

DataSubsetTInput, TOutput Constructor (Int32, TInput, TOutput, Double, Int32)

Namespace:  Accord.MachineLearning.Performance
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax
public DataSubset(
	int index,
	TInput[] inputs,
	TOutput[] outputs,
	double[] weights,
	int[] indices
)
Request Example View Source

Parameters

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.
indices
Type: SystemInt32
The indices of the input instances in relation to the original dataset.
See Also