Skip to content

Commit

Permalink
Merge pull request #1 from uzh-dqbm-cmi/attn_siamese_paper_review
Browse files Browse the repository at this point in the history
Attn siamese paper review
  • Loading branch information
orisenbazuru authored Jun 10, 2021
2 parents 3677c2d + 66b4983 commit ac5d422
Show file tree
Hide file tree
Showing 111 changed files with 4,141 additions and 357,990 deletions.
55 changes: 55 additions & 0 deletions .gitignore
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
17 changes: 16 additions & 1 deletion README.md
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.
14 changes: 0 additions & 14 deletions cluster/data/medinfmk/ddi/config/config.yml

This file was deleted.

548 changes: 0 additions & 548 deletions cluster/data/medinfmk/ddi/processed/finalsimddd.txt

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
5 changes: 0 additions & 5 deletions cluster/data/medinfmk/ddi/raw/DS1/dummy/X_dummy.csv

This file was deleted.

5 changes: 0 additions & 5 deletions cluster/data/medinfmk/ddi/raw/DS1/dummy/y_dummy.csv

This file was deleted.

548 changes: 0 additions & 548 deletions cluster/data/medinfmk/ddi/raw/DS1/fused_Jacarrd_sim.csv

This file was deleted.

This file was deleted.

8 changes: 0 additions & 8 deletions cluster/data/medinfmk/side-effects/config/config.yml

This file was deleted.

Loading

0 comments on commit ac5d422

Please sign in to comment.