phenotypic.tune.strategy.SearchStrategy#
- class phenotypic.tune.strategy.SearchStrategy(*args, **kwargs)[source]#
Bases:
ProtocolThe swappable optimizer seam: ask for params, tell results, stop on exhaustion.
Runtime-stateful (Grid cursor / Random RNG / Optuna study) → a Protocol so a test fake or a future strategy conforms structurally.
resultis typedAnyin Phase 1b; Phase 1c narrows it toEvaluationResult.Methods
__init__- suggest() tuple[Mapping[str, Any], PruningChannel][source]#
- Return type:
tuple[Mapping[str, Any], PruningChannel]