-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from uzh-dqbm-cmi/attn_siamese_paper_review
Attn siamese paper review
- Loading branch information
Showing
111 changed files
with
4,141 additions
and
357,990 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,57 @@ | ||
*.p | ||
*.pickle | ||
|
||
.DS_Store | ||
|
||
# Byte-compiled / optimized / DLL files | ||
__pycache__/ | ||
*.py[cod] | ||
*$py.class | ||
|
||
# C extensions | ||
*.so | ||
|
||
# Distribution / packaging | ||
.Python | ||
build/ | ||
develop-eggs/ | ||
dist/ | ||
downloads/ | ||
eggs/ | ||
.eggs/ | ||
lib/ | ||
lib64/ | ||
parts/ | ||
sdist/ | ||
var/ | ||
wheels/ | ||
*.egg-info/ | ||
.installed.cfg | ||
*.egg | ||
MANIFEST | ||
|
||
# Jupyter Notebook | ||
.ipynb_checkpoints | ||
|
||
# pyenv | ||
.python-version | ||
|
||
# Environments | ||
.env | ||
.venv | ||
env/ | ||
venv/ | ||
ENV/ | ||
env.bak/ | ||
venv.bak/ | ||
|
||
# Vs code | ||
.vscode | ||
|
||
# orisenbazuru | ||
explore.py | ||
notebooks/orisenbazuru/* | ||
notebooks/archive/* | ||
ideas.txt.rtf | ||
trained_models | ||
data/processed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,16 @@ | ||
# side-effects | ||
# 📣 AttentionDDI 💊 | ||
|
||
This repository contains the code for the AttentionDDI model implementation with PyTorch. | ||
|
||
AttentionDDI is a Siamese multi-head self-Attention multi-modal neural network model used for drug-drug interaction (DDI) predictions. | ||
|
||
## Installation | ||
|
||
* `git clone` the repo and `cd` into it. | ||
* Run `pip install -e .` to install the repo's python package. | ||
|
||
## Running 🏃 | ||
|
||
1. use `notebooks/jupyter/AttnWSiamese_data_generation.ipynb` to generate DataTensors from the drug similarity matrices. | ||
2. use `notebooks/jupyter/AttnWSiamese_hyperparam.ipynb` to find the best performing model hyperparameters. | ||
3. use `notebooks/jupyter/AttnWSiamese_train_eval.ipynb` to train / test on the best hyperparameters. |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
9 changes: 0 additions & 9 deletions
9
...ns/backup/replicatedIndividualScores_max_epochs-20-batch_size-200-H1-300-H2-400-Copy1.csv
This file was deleted.
Oops, something went wrong.
9 changes: 0 additions & 9 deletions
9
...ns/backup/replicatedIndividualScores_max_epochs-20-batch_size-200-H1-400-H2-300-Copy1.csv
This file was deleted.
Oops, something went wrong.
9 changes: 0 additions & 9 deletions
9
...rocessed/runs/replicatedIndividualScores_max_epochs-20-batch_size-200-CNN-8736-256-64.csv
This file was deleted.
Oops, something went wrong.
9 changes: 0 additions & 9 deletions
9
.../processed/runs/replicatedIndividualScores_max_epochs-20-batch_size-200-H1-300-H2-400.csv
This file was deleted.
Oops, something went wrong.
9 changes: 0 additions & 9 deletions
9
.../processed/runs/replicatedIndividualScores_max_epochs-20-batch_size-200-H1-400-H2-300.csv
This file was deleted.
Oops, something went wrong.
9 changes: 0 additions & 9 deletions
9
...a/medinfmk/ddi/processed/runs/replicatedIndividualScores_max_epochs-20-batch_size-200.csv
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-3.93 KB
...mk/ddi/processed/runs/test_20epochs_100batch/events.out.tfevents.1575983073.cuda.16819.14
Binary file not shown.
Binary file removed
BIN
-3.93 KB
...mk/ddi/processed/runs/test_20epochs_200batch/events.out.tfevents.1575982234.cuda.16819.12
Binary file not shown.
Binary file removed
BIN
-7.81 KB
...mk/ddi/processed/runs/test_40epochs_100batch/events.out.tfevents.1575983242.cuda.16819.15
Binary file not shown.
Binary file removed
BIN
-40 Bytes
.../processed/runs/test_40epochs_100batch_optim/events.out.tfevents.1575984284.cuda.16819.16
Binary file not shown.
Binary file removed
BIN
-40 Bytes
.../processed/runs/test_40epochs_100batch_optim/events.out.tfevents.1575984530.cuda.16819.17
Binary file not shown.
Binary file removed
BIN
-7.81 KB
.../processed/runs/test_40epochs_100batch_optim/events.out.tfevents.1575984556.cuda.16819.18
Binary file not shown.
Binary file removed
BIN
-5.87 KB
.../processed/runs/test_40epochs_100batch_optim/events.out.tfevents.1575985257.cuda.16819.19
Binary file not shown.
Binary file removed
BIN
-5.87 KB
.../processed/runs/test_40epochs_100batch_optim/events.out.tfevents.1575985780.cuda.16819.20
Binary file not shown.
Binary file removed
BIN
-5.87 KB
.../processed/runs/test_40epochs_100batch_optim/events.out.tfevents.1575986206.cuda.16819.21
Binary file not shown.
Binary file removed
BIN
-5.87 KB
.../processed/runs/test_40epochs_100batch_optim/events.out.tfevents.1575986556.cuda.16819.22
Binary file not shown.
Binary file removed
BIN
-5.87 KB
.../processed/runs/test_40epochs_100batch_optim/events.out.tfevents.1575991236.cuda.16819.23
Binary file not shown.
Binary file removed
BIN
-40 Bytes
.../processed/runs/test_40epochs_100batch_optim/events.out.tfevents.1576231212.cuda.16819.24
Binary file not shown.
Binary file removed
BIN
-5.87 KB
.../processed/runs/test_40epochs_100batch_optim/events.out.tfevents.1576239240.cuda.16819.25
Binary file not shown.
Binary file removed
BIN
-3.93 KB
.../processed/runs/test_40epochs_100batch_optim/events.out.tfevents.1576240127.cuda.16819.26
Binary file not shown.
Binary file removed
BIN
-3.93 KB
.../processed/runs/test_40epochs_100batch_optim/events.out.tfevents.1576242168.cuda.16819.27
Binary file not shown.
Binary file removed
BIN
-3.93 KB
.../processed/runs/test_40epochs_100batch_optim/events.out.tfevents.1576242953.cuda.16819.28
Binary file not shown.
Binary file removed
BIN
-3.93 KB
.../processed/runs/test_40epochs_100batch_optim/events.out.tfevents.1576243071.cuda.16819.29
Binary file not shown.
Binary file removed
BIN
-3.93 KB
.../processed/runs/test_40epochs_100batch_optim/events.out.tfevents.1576243166.cuda.16819.30
Binary file not shown.
Binary file removed
BIN
-3.93 KB
.../processed/runs/test_40epochs_100batch_optim/events.out.tfevents.1576243269.cuda.16819.31
Binary file not shown.
Binary file removed
BIN
-3.93 KB
...i/processed/runs/test_40epochs_100batch_optim/events.out.tfevents.1576585520.cuda.10857.0
Binary file not shown.
Binary file removed
BIN
-3.93 KB
...i/processed/runs/test_40epochs_100batch_optim/events.out.tfevents.1576586368.cuda.17477.0
Binary file not shown.
Binary file removed
BIN
-3.93 KB
...i/processed/runs/test_40epochs_100batch_optim/events.out.tfevents.1576587432.cuda.17477.1
Binary file not shown.
Binary file removed
BIN
-7.81 KB
...mk/ddi/processed/runs/test_40epochs_200batch/events.out.tfevents.1575982591.cuda.16819.13
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
548 changes: 0 additions & 548 deletions
548
cluster/data/medinfmk/ddi/raw/DS1/fused_Jacarrd_sim.csv
This file was deleted.
Oops, something went wrong.
9 changes: 0 additions & 9 deletions
9
cluster/data/medinfmk/ddi/raw/DS1/paper_individual_metrics_scores.csv
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.