Targeted causal reduction learns high-level causes for phenomena occuring in simulations.
Project description
Targeted Causal Reduction (TCR)
Overview
TCR is a method for explaining a phenomenon (called target) in high-dimensional simulations (low-level model) by learning a low-dimensional causal model (high-level model) that captures the most important causes of the target. It uses shift interventions in the low-level model and its effects on the target to learn the high-level model. The full mathematical details are explained in the associated paper.
Installation
Clone the repository
git clone git@github.com:akekic/targeted-causal-reduction.git
and install the package
pip install .
If you want to install the package for development, use
pip install -e .[dev]
this will install the package in editable mode and install the additional dependencies for development.
Hello World!
The package provides an entry point for running the TCR algorithm.
To run the algorithm on a synthetic linear low-level causal model, use
tcr
This will run the TCR algorithm and save the results as weights and biases logs in the wandb directory.
The full list of arguments can be found by running
tcr --help
or by looking at the argument parser in targeted_causal_reduction/parser.py.
License
This project is licensed under the MIT license. See the LICENSE file for details.
Citation
If you use TCR, please cite the
corresponding paper as follows.
Kekić, A., Schölkopf, B., & Besserve, M. (2024). Targeted Reduction of Causal Models. Conference on Uncertainty in Artificial Intelligence (UAI).
Bibtex
@article{
kekic2024targeted,
title={Targeted Reduction of Causal Models},
author={Keki\'c, Armin and Sch\"olkopf, Bernhard and Besserve, Michel},
journal={Conference on Uncertainty in Artificial Intelligence (UAI)},
year={2024},
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file targeted_causal_reduction-0.0.1a1.tar.gz.
File metadata
- Download URL: targeted_causal_reduction-0.0.1a1.tar.gz
- Upload date:
- Size: 26.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
068acf3953dfbf1b7e44b73ffe17c2a412766137998425b4c9ad3f6a12e50923
|
|
| MD5 |
34d670b7efcf6bae6327c300d9354e3c
|
|
| BLAKE2b-256 |
69f8b8ca0e7c163b4b7ac734c3516caa43917858ebb55bf0eff7525477941475
|
File details
Details for the file targeted_causal_reduction-0.0.1a1-py3-none-any.whl.
File metadata
- Download URL: targeted_causal_reduction-0.0.1a1-py3-none-any.whl
- Upload date:
- Size: 36.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7d34b2211e0768d2e777b2aba55af2f3d2209ad81a6d561b1606b06a9518a2fe
|
|
| MD5 |
757f88d2467b199edfa9fc4011334e15
|
|
| BLAKE2b-256 |
feabe380ac36f5377defe8d9f673af4371ba0dca901dbbb5b40f05b396bd6978
|