Skip to content

Commit

Permalink
codes
Browse files Browse the repository at this point in the history
  • Loading branch information
yzf-code committed Jul 15, 2023
0 parents commit 979dbfa
Show file tree
Hide file tree
Showing 51 changed files with 7,571,755 additions and 0 deletions.
Binary file added data/.DS_Store
Binary file not shown.
Binary file added data/BioSNAP/.DS_Store
Binary file not shown.
1,666,632 changes: 1,666,632 additions & 0 deletions data/BioSNAP/BKG_file.txt
16,506 changes: 16,506 additions & 0 deletions data/BioSNAP/test.txt
57,778 changes: 57,778 additions & 0 deletions data/BioSNAP/train.txt
8,256 changes: 8,256 additions & 0 deletions data/BioSNAP/valid.txt
Binary file added data/drugbank/.DS_Store
Binary file not shown.
1,690,693 changes: 1,690,693 additions & 0 deletions data/drugbank/BKG_file.txt
38,419 changes: 38,419 additions & 0 deletions data/drugbank/test.txt
134,641 changes: 134,641 additions & 0 deletions data/drugbank/train.txt
19,224 changes: 19,224 additions & 0 deletions data/drugbank/valid.txt
Binary file added pytorch/.DS_Store
Binary file not shown.
133 changes: 133 additions & 0 deletions pytorch/data_processor/datasets.py
179 changes: 179 additions & 0 deletions pytorch/data_processor/subgraph_extraction.py
106 changes: 106 additions & 0 deletions pytorch/experiments/BioSNAP/log_train.txt
313 changes: 313 additions & 0 deletions pytorch/experiments/Drugbank/log_train.txt
112 changes: 112 additions & 0 deletions pytorch/manager/evaluator.py
162 changes: 162 additions & 0 deletions pytorch/manager/trainer.py
44 changes: 44 additions & 0 deletions pytorch/model/Classifier_model.py
45 changes: 45 additions & 0 deletions pytorch/model/GraphSAGE.py
190 changes: 190 additions & 0 deletions pytorch/model/gsl_model.py
184 changes: 184 additions & 0 deletions pytorch/train.py
142 changes: 142 additions & 0 deletions pytorch/utils/data_utils.py
134 changes: 134 additions & 0 deletions pytorch/utils/graph_utils.py
48 changes: 48 additions & 0 deletions pytorch/utils/initialization_utils.py
Binary file added raw_data/.DS_Store
Binary file not shown.
Binary file added raw_data/BioSNAP/.DS_Store
Binary file not shown.
33,446 changes: 33,446 additions & 0 deletions raw_data/BioSNAP/BKG_entity2Id.json
1,666,632 changes: 1,666,632 additions & 0 deletions raw_data/BioSNAP/BKG_file.txt
1 change: 1 addition & 0 deletions raw_data/BioSNAP/id2drug.json
1 change: 1 addition & 0 deletions raw_data/BioSNAP/id2relation.json
207 changes: 207 additions & 0 deletions raw_data/BioSNAP/read_data.py
6 changes: 6 additions & 0 deletions raw_data/BioSNAP/readme.md
25 changes: 25 additions & 0 deletions raw_data/BioSNAP/relation_type_drug.json
16,506 changes: 16,506 additions & 0 deletions raw_data/BioSNAP/test.txt
57,778 changes: 57,778 additions & 0 deletions raw_data/BioSNAP/train.txt
8,256 changes: 8,256 additions & 0 deletions raw_data/BioSNAP/valid.txt
Binary file added raw_data/Drugbank/.DS_Store
Binary file not shown.
32,416 changes: 32,416 additions & 0 deletions raw_data/Drugbank/BKG_entity2Id.json
1,690,693 changes: 1,690,693 additions & 0 deletions raw_data/Drugbank/BKG_file.txt
192,285 changes: 192,285 additions & 0 deletions raw_data/Drugbank/Drugbank.txt
87 changes: 87 additions & 0 deletions raw_data/Drugbank/id2rel.txt
1 change: 1 addition & 0 deletions raw_data/Drugbank/node2id.json
7 changes: 7 additions & 0 deletions raw_data/Drugbank/readme.md
25 changes: 25 additions & 0 deletions raw_data/Drugbank/relation_type_drug.json
38,419 changes: 38,419 additions & 0 deletions raw_data/Drugbank/test.txt
134,641 changes: 134,641 additions & 0 deletions raw_data/Drugbank/train.txt
19,224 changes: 19,224 additions & 0 deletions raw_data/Drugbank/valid.txt
47,032 changes: 47,032 additions & 0 deletions raw_data/hetionet/hetionet-v1.0-nodes.tsv
122 changes: 122 additions & 0 deletions readme.md
4 changes: 4 additions & 0 deletions requirements.txt

0 comments on commit 979dbfa

Please sign in to comment.