deepcausalmmm.core.config

Configuration settings for DeepCausalMMM model.

Functions

get_default_config()

Get default configuration settings for the model.

update_config(base_config, updates)

Update base configuration with new values.

deepcausalmmm.core.config.get_default_config() Dict[str, Any][source]

Get default configuration settings for the model.

Includes DAG structure-learning keys under dag_mode:

  • 'triangular' (default) — upper-triangular acyclicity mask

  • 'notears' — NOTEARS augmented-Lagrangian mode; see also notears_warmup_epochs, notears_lambda1, notears_dual_*, dag_temperature, and notears_group_l1

Returns:

Dict containing all configuration parameters

deepcausalmmm.core.config.update_config(base_config: Dict[str, Any], updates: Dict[str, Any]) Dict[str, Any][source]

Update base configuration with new values.

Parameters:
  • base_config – Base configuration dictionary

  • updates – Dictionary containing updates to apply

Returns:

Updated configuration dictionary