|
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.8.0
Syntax protected override int[] GetLengths()
Protected Overrides Function GetLengths As Integer()
Request Example
View SourceReturn Value
Type:
Int32The number of possibilities for each parameter.
See Also