DABI-DDI
Creators
Description
Description of the Code Execution
All experimental codes for the Bayes model can be executed directly by running the bayes_train.py file located in the Bayes folder. By executing this file, the posterior probabilities of adverse events derived from the FAERS dataset using the Bayesian model will be obtained. Additionally, a comparison plot of AUC curves between the Bayesian model and the signal detection algorithm is generated. The output also includes the probabilities of adverse events associated with various drug combinations and their corresponding confidence levels. This enables the identification of drug combinations with a high confidence of causing adverse events through the Bayesian approach.
For all experiments related to the Mymodel model, the dataset can first be created using the create_data.py file in the Mymodel folder. The model training and validation process can then be performed by running the mymodel_train.py file. All experimental results are saved in the result folder, including the comparative performance of the proposed model against other models, ablation study results, and ROC curve comparison plots. The biological attribute network can be visualized by directly executing the BAN.py file.
All data processing and model training were conducted on an Ubuntu 20.04 LTS system, and the codebase was developed using the Torch framework. The required Python libraries for running the experiments are listed in the requirement.txt file.
Files
.idea.zip
Files
(574.7 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:f2c1758800da1b153cfe06fbc2b983c0
|
4.2 kB | Preview Download |
|
md5:e68c7345dbb4dec3fada80c7833c7bbd
|
1.8 MB | Preview Download |
|
md5:6c4a141d00ec12e4b558d0380704f333
|
22.3 kB | Download |
|
md5:5efa22675fa6060d19b3b2d200377732
|
17.4 MB | Preview Download |
|
md5:2c01d4e53043c100bbf3ac81429000c3
|
555.6 MB | Preview Download |
|
md5:472b94eadc34cf829b56eed066c714bb
|
1.9 kB | Preview Download |