# CausalInferenceNeuralProcess
Neural Process that, given data, amortizes the process of constructing a causal structure and then computing interventional distributions.

Model tested on python 3.10

An example of training a model (ensure that work_dir is set correctly):
- `CITNP/experiments/run.sh`

An example of testing an already trained model (`CITNP/experiments/results/DFalldata_neuralgplvm_1000_MTcnp_DM256_DFF1024_NH8_NL4_NC10_BS32_LR0.00050_WR0.02`):
- `CITNP/experiments/test.sh`

Trained model for the higher dimensional datasets is in `CITNP/experiments/results/DFalldata_neuralgplvm_1000_MTcnp_DM256_DFF1024_NH8_NL4_NC10_BS32_LR0.00050_WR0.02` along with correspnding results.

Baseline results are in `baselines` except for BCI-GPN which was run using R.
