Here is a list of reference versions for all package:
python: 3.6.8
dgl: 0.6.0
numpy: 1.19.5
pandas: 1.1.5
torch: 1.7.1
scipy: 1.5.4
sklearn: 0.0.post1
Download DRKG_TransE_l2_entity.npy from DRKG and move it to /data directory.
Generate treatment by running:
python3 ./causal_model/Treatment.py
Generate counterfactual links by running:
python3 ./causal_model/CounterfactualLinks.py
python3 ./causal_model/main.py