|
BootstrapTModel, TInput, TOutputCreateSubSampleIndices Method
|
Draws the bootstrap samples from the population.
Namespace:
Accord.MachineLearning.Performance
Assembly:
Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax protected virtual int[][] CreateSubSampleIndices(
TInput[] x,
TOutput[] y,
int resamplings,
int subsampleSize
)
Protected Overridable Function CreateSubSampleIndices (
x As TInput(),
y As TOutput(),
resamplings As Integer,
subsampleSize As Integer
) As Integer()()
Request Example
View SourceParameters
- x
- Type: TInput
The input data from where subsamples should be drawn. - y
- Type: TOutput
The output data from where subsamples should be drawn. - resamplings
- Type: SystemInt32
The number of samples to drawn. - subsampleSize
- Type: SystemInt32
The size of the samples to be drawn.
Return Value
Type:
Int32The indices of the samples in the original set.
See Also