-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
484b6e6
commit 692f253
Showing
1 changed file
with
32 additions
and
0 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,34 @@ | ||
# REINVENT | ||
Molecular De Novo design using Recurrent Neural Networks and Reinforcement Learning | ||
============= | ||
|
||
Source code for the method described in: | ||
|
||
[Molecular De Novo Design through Deep Reinforcement Learning](https://arxiv.org/abs/1704.07555) | ||
|
||
## Requirements | ||
|
||
This package requires: | ||
* Python 2.7 | ||
* Tensorflow 1.0 | ||
* [RDkit](http://www.rdkit.org/docs/Install.html) | ||
* Scikit-Learn (for QSAR scoring function) | ||
|
||
## Usage | ||
|
||
To use with a custom SMILES file: | ||
* Create MolData and Vocabulary instances using "python data_structs.py [location of SMILES file]" | ||
* Run the model.py pretrain_rnn method pointing to the MolData and Vocabulary files created | ||
* The Prior will be saved in the folder specified. | ||
* Run the model.py train_agent method to train agent, and the model.py sample method (after, or both before and after for comparison) to generate samples | ||
|
||
The datasets and pretrained Priors used in the paper can be found under "Releases" | ||
|
||
## To Do | ||
|
||
* Make a package | ||
* Add argparser to facilitate usage | ||
|
||
Any further comments/suggestions/criticism/questions are welcome! | ||
|
||
For contact outside of GitHub: m.olivecrona@gmail.com |