|
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
)
Public Sub New (
index As Integer,
inputs As TInput(),
outputs As TOutput(),
weights As Double(),
indices 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. - indices
- Type: SystemInt32
The indices of the input instances in relation to the original dataset.
See Also