Click or drag to resize
Accord.NET (logo)

GridSearchTModel, TRange, TLearner, TInput, TOutputGetParameters Method

Inheritors of this class should specify how to get actual values for the parameters given a index vector in the grid-search space. Those indices indicate which values should be given, e.g. if there are two parameters in the problem, the ranges of the first parameter are {10, 20, 30}, and the ranges of the second parameter are {0.1, 0.01, 0.001 }, if the index vector is { 1, 2 } this method should return { 20, 0.001 }.

Namespace:  Accord.MachineLearning.Performance
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax
protected override TRange GetParameters(
	int[] indices
)
Request Example View Source

Parameters

indices
Type: SystemInt32
The indices in grid-search space.

Return Value

Type: TRange
The parameters at the location indicated by indices.
See Also