phenotypic.tune.build_reduced_space#

phenotypic.tune.build_reduced_space(space: SearchSpace, frozen_values: dict[str, Any]) SearchSpace[source]#

Pin every frozen_values key to a Fixed domain (§6).

Kept knobs retain their original domain; a frozen knob’s domain is replaced by Fixed(value=...) so the focused round treats it as a constant, never a trial dimension. Provenance and conditioning are preserved.

Parameters:
  • space (SearchSpace) – The explore-round (full) space.

  • frozen_values (dict[str, Any]) – {key: pinned_value} for the params to freeze.

Returns:

A new SearchSpace with the frozen knobs pinned.

Return type:

SearchSpace