phenotypic.tune.build_reduced_space#
- phenotypic.tune.build_reduced_space(space: SearchSpace, frozen_values: dict[str, Any]) SearchSpace[source]#
Pin every
frozen_valueskey to aFixeddomain (§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
SearchSpacewith the frozen knobs pinned.- Return type: