gnn_tracking_hpo.defaults#

Module Contents#

Functions#

suggest_default_values(→ None)

Set all config values, so that everything gets recorded in the database, even

legacy_config_compatibility(→ dict[str, Any])

Preprocess config, for example to deal with legacy configs.

gnn_tracking_hpo.defaults.suggest_default_values(config: dict[str, Any], trial: None | optuna.Trial = None, ec='default', hc='default') None#

Set all config values, so that everything gets recorded in the database, even if we do not change anything.

Parameters:
  • config – Gets modified in place

  • trial

  • ec – One of “default” (train), “perfect” (perfect ec), “fixed”, “continued” (fixed architecture, continued training)

  • hc – One of “default” (train), “none” (no hc)

gnn_tracking_hpo.defaults.legacy_config_compatibility(config: dict[str, Any]) dict[str, Any]#

Preprocess config, for example to deal with legacy configs.