DoWhy-GCM: An extension of DoWhy for causal inference in graphical causal models
About
We present DoWhy-GCM, an extension of the DoWhy Python library, which leverages graphical causal models. Unlike existing causality libraries, which mainly focus on effect estimation, DoWhy-GCM addresses diverse causal queries, such as identifying the root causes of outliers and distributional changes, attributing causal influences to the data generating process of each node, or diagnosis of causal structures. With DoWhy-GCM, users typically specify cause-effect relations via a causal graph, fit causal mechanisms, and pose causal queries -- all with just a few lines of code. The general documentation is available at https://www.pywhy.org/dowhy and the DoWhy-GCM specific code at https://github.com/py-why/dowhy/tree/main/dowhy/gcm.
Patrick Bl\"obaum, Peter G\"otz, Kailash Budhathoki, Atalanti A. Mastakouri, Dominik Janzing• 2022
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Noise Prediction | AVICI (out-of-distribution) | LIN (RMSE)0.03 | 32 | |
| Counterfactual Generation | AVICI (test) | LIN RMSE (IN)0.00e+0 | 16 | |
| Interventional Generation | AVICI In-distribution | LIN RMSE0.05 | 16 | |
| Noise Prediction | AVICI In-distribution | LIN RMSE0.03 | 16 | |
| Sample Generation | AVICI LIN (In-distribution) | RMSE0.05 | 16 | |
| Sample Generation | AVICI LIN (Out-of-distribution) | RMSE0.05 | 16 | |
| Sample Generation | AVICI RFF (In-distribution) | RMSE0.18 | 16 | |
| Sample Generation | AVICI RFF (Out-of-distribution) | RMSE0.12 | 16 | |
| Generating observational data | ecoli | MMD (Generated vs Query)0.02 | 8 | |
| Generating observational data | Flow Cytometry Sachs (query) | MMD (Generated Query vs True Query)0.015 | 4 |
Showing 10 of 10 rows