-
Notifications
You must be signed in to change notification settings - Fork 0
/
useful_commands.txt
20 lines (18 loc) · 973 Bytes
/
useful_commands.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# deepDR
## paper "deepDR: A network-based deep learning approach to in silico drug repositioning"
### 'dataset' directory
Contain the gold standard drug-disease set and ten drug-related networks.
### 'preprocessing' directory
Contain the preprocessing code to generate PPMI matrix.
### 'PPMI' directory
Contain the PPMI matrices of ten drug-related networks.
### Tutorial
1. Create two directories "test_models" and "test_results" in the project.
2. To get drug features learned by MDA, run
- python getFeatures.py example_params.txt
3. To predict drug-disease associations by cVAE, run
- pretraining with features: python cvae.py --dir dataset -a 6 -b 0.1 -m 300 --save --layer 1000 100
- refine training with rating: python cvae.py --dir dataset --rating -a 15 -b 3 -m 500 --load 1 --layer 1000 100
### Requirements
deepDR is tested to work under Python 3.6
The required dependencies for deepDR are Keras, PyTorch, TensorFlow, numpy, scipy, and scikit-learn.