The repository provides the python implementation for the algorithms in the paper "Causal Abstraction Learning based on the Semantic Embedding Principle" by D'Acunto et al.
The material is organized into two main folders:
src, containing the source code, that is, the algorithms implementation and theutils.pyfile with useful functions (such as the metrics);data, containing the results saved from theexample.ipynbnotebook, stored asparquetfiles to avoid versioning problems.
Additionally,
example.ipynbshows how to apply the algorithms, in both the full-prior and partial-prior settings;environment.ymlallows to install thecondaenvironment. Please refer to conda User guide;.gitignoreis the usual file that specifies intentionally untracked files that Git should ignore.