Click or drag to resize
Accord.NET (logo)

GridSearchTModel, TLearner, TInput, TOutputGetLengths Method

Inheritors of this class should return the number of possible parameter values for each parameter in the grid-search range. For example, if a problem should search parameters in the range {0, 1, ... 9} (10 values) and {-1, -2, -3 } (3 values), this method should return { 10, 3 }.

Namespace:  Accord.MachineLearning.Performance
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.7.0
protected override int[] GetLengths()
Request Example View Source

Return Value

Type: Int32
The number of possibilities for each parameter.
See Also