phenotypic.tune.select_params_to_freeze#

phenotypic.tune.select_params_to_freeze(report: ImportanceReport, *, epsilon: float = 0.1) list[str][source]#

The cumulative-tail freeze set over total importance (§6).

Walks params from least to most important, accumulating their importance shares; freezes each one while the running cumulative stays strictly below epsilon. Because the importances are total (main + interaction on the fANOVA path), a low-main/high-interaction param carries a large share and is never reached by the tail. On the RF-permutation path (interactions unverified) the threshold is halved so freezing is strictly more conservative — it freezes a subset of what fANOVA would freeze (§6).

Parameters:
  • report (ImportanceReport) – The importance estimate + honesty flags.

  • epsilon (float) – The cumulative-tail budget over total importance.

Returns:

The keys to freeze (least-important first); empty if nothing fits.

Return type:

list[str]