phenotypic.tune.strategy.GridStrategy#
- class phenotypic.tune.strategy.GridStrategy(space: SearchSpace)[source]#
Bases:
objectWalks the full conditional Cartesian product of the SearchSpace.
The degenerate “strategy” that reproduces exhaustive grid search. Raises on a continuous
FloatRangeknob (not enumerable).- Parameters:
space (SearchSpace) – The search space to enumerate; every knob must have an enumerable domain (
Categorical/IntRange/Fixed).
Methods
__init__- suggest() tuple[Mapping[str, Any], PruningChannel][source]#
- Return type:
tuple[Mapping[str, Any], PruningChannel]