Skip to content

This repository contains the results of my MSc thesis project, alongside with the thesis latex file. Relevant segment for the code is the Chapter 2 of the thesis.

Notifications You must be signed in to change notification settings

Cosmicstring/Bayesian-Causal-Inference-with-IFT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bayesian Causal Inference project using NIFTy

This repo contains all the code implemented and described in chapter 4 of my MSc thesis. In order to run the code one needs all the standard python3 libraries and the NIFTy8.

All the models are implemented in the bipartite_model.py and confounder_model.py with their shared options implemented inside causal_model.py, which also contains the method for estimating model evidences (the _get_evidence(**args)). For changing the hyperparameters of the models themselves take a look into the config.json file. The data_processing_utilities.py contains the relevant setup information for configuring the code arguments (look into Parser). Main pyscript is do_bci_inference.py which does the actual tests.

An example of how to run the tests and select models / testcases is presented inside the evaluation_scripts/run.sh bash script. First copy it to the $ROOT folder containing the do_bci_inference.py script and run it. For any problems contact me at [email protected].

About

This repository contains the results of my MSc thesis project, alongside with the thesis latex file. Relevant segment for the code is the Chapter 2 of the thesis.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published