Code for the following paper:
Efficient Identification of Direct Causal Parents via Invariance and Minimum Error Testing
To setup the required environment
- Install miniconda
- Run
conda env create -n icp -f env.yml
- Run the example of a diamond graph using
run_toy.py - The simulation examples are in the
scriptsfolder.
- Find parents using ICP, MMSE-ICP, and fastICP by running
scripts/kemmeren.sh(Warning: this may take some time) - Plot the result by running
plot_kemmeren.py
If you find this code useful, please cite:
@article{nguyen2024fasticp,
title={{Efficient Identification of Direct Causal Parents via Invariance and Minimum Error Testing}},
author={Nguyen, Minh and Sabuncu, Mert R.},
journal={Transactions on Machine Learning Research (TMLR)},
year={2024}
}