Skip to content

richard-watson/ISL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This folder comprises the code for the algorithm featured in the paper: On Heterogeneous Treatment Effects in Heterogeneous Causal Graphs

In order to run ISL from the command line, use cl.py. For example to run one replicate of scenario 1 for 10 samples use:

  • python cl.py --scenario S1 --sample_size 10

To discover a graph for specific data set use:

  • python cl.py --infile data.csv --p NUMBER_OF_POTENTIAL_MODERATORS --s NUMBER_OF_POTENTIAL_MEDIATORS

To run two replicates of scenario 1 for 10 samples use:

  • python cl.py --scenario S1 --sample_size 10 --rep_number 2

To start from a specific seed use:

  • python cl.py --scenario S1 --sample_size 10 --rep_number 2 --start 42

To end at a specific seed use:

  • python cl.py --scenario S1 --sample_size 10 --start 42 --end 142

or equivalently

  • python cl.py --scenario S1 --sample_size 10 --start 42 --rep_number 101

Finally, to use multiple cores use:

  • python cl.py --scenario S1 --sample_size 10 --start 42 --rep_number 101 --num_cores 4

Use python cl.py --help for more commands.

Note that the real AURORA dataset cannot be shared due to the AURORA privacy protocol.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages