deepcausalmmm.core.config
Configuration settings for DeepCausalMMM model.
Functions
Get default configuration settings for the model. |
|
|
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 alsonotears_warmup_epochs,notears_lambda1,notears_dual_*,dag_temperature, andnotears_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