Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Causal Discovery

In our experiments, we use BLIP to learn the causal graph from collected data. To execute BLIP, you need to clone the BLIP repo and install the dependencies. You can find the code for running BLIP in run_blip.py. Please put this script in the root directory of BLIP repo, then you can directly execute the script to run BLIP.

Usage:

python run_blip.py [-h] [--input_file INPUT_FILE] 
                   [--est_out EST_OUT]
                   [--tmp_out TMP_OUT]

Here is the arguments table for the script:

Argument Description Special Remark
input_file The input data for BLIP. str, should be blip.csv generated by collect_data.py.
est_out Path to the causal graph file (should be txt file). str.
tmp_out Path of temporary data. str.