Skip to content

zhu-xlab/Causal_health

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Ecological determinants of antidepressants prescription in England: Using machine learning for causal discovery

Graphic abstract

screenshot

Correlation

Numpy implementation of computing R matrix

python correlation.py

Plot the R matrix in a graph, wherein nodes are variables and edges quantify correlations.

python correlation_pltgraph.py

Chat-GPT 4

Convert chat-gpt4 results saved in csv file to gephi readable file

python gepi_gpt.py

Causal inference (ours)

FCI

Causal-learn implementation of FCI method

python FCI.py

Implement FCI and orient edges based on prior knowledge for the whole dataset

python FCI_bk.py

Implement FCI and orient edges based on prior knowledge for the subsampled dataset

python FCI_bk_Ablation.py

or

python FCI_bk_ethnicityAblation.py

Other causal inference methods

PNL, PC, GES, ICP

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages