https://github.com/animesh/gentrl
Generative Tensorial Reinforcement Learning (GENTRL) model
Science Score: 10.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
○codemeta.json file
-
○.zenodo.json file
-
○DOI references
-
✓Academic publication links
Links to: nature.com -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (9.2%) to scientific vocabulary
Last synced: 6 months ago
·
JSON representation
Repository
Generative Tensorial Reinforcement Learning (GENTRL) model
Basic Info
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Fork of insilicomedicine/GENTRL
Created over 6 years ago
· Last pushed over 6 years ago
https://github.com/animesh/GENTRL/blob/master/
## Setup ### Using docker file ``` docker build . ``` ### With Docker hub ``` docker pull docker.io/animesh1977/gentrl ``` ### Manual [Anaconda](https://docs.anaconda.com/anaconda/install/linux/) ``` apt-get install python3 libgl1-mesa-glx libegl1-mesa libxrandr2 libxrandr2 libxss1 libxcursor1 libxcomposite1 libasound2 libxi6 libxtst6 wget https://repo.anaconda.com/archive/Anaconda3-2019.10-Linux-x86_64.sh ``` [RD kit](https://www.rdkit.org/docs/Install.html) ``` conda create -c rdkit -n my-rdkit-env rdkit conda activate my-rdkit-env pip install sklearn jupyterlab ``` ## Test ### through console ``` python3 trainGENTLR4HDACi.py ``` ### through console ``` jupyter notebook --no-browser ``` Check out [pretrain.ipynb](./examples/pretrain.ipynb) ## Supporting Information for the paper _"[Deep learning enables rapid identification of potent DDR1 kinase inhibitors](https://www.nature.com/articles/s41587-019-0224-x)"_. ## Generative Tensorial Reinforcement Learning (GENTRL) Supporting Information for the paper _"[Deep learning enables rapid identification of potent DDR1 kinase inhibitors](https://www.nature.com/articles/s41587-019-0224-x)"_. The GENTRL model is a variational autoencoder with a rich prior distribution of the latent space. We used tensor decompositions to encode the relations between molecular structures and their properties and to learn on data with missing values. We train the model in two steps. First, we learn a mapping of a chemical space on the latent manifold by maximizing the evidence lower bound. We then freeze all the parameters except for the learnable prior and explore the chemical space to find molecules with a high reward.  ## Repository In this repository, we provide an implementation of a GENTRL model with an example trained on a [MOSES](https://github.com/molecularsets/moses) dataset. To run the training procedure, 1. [Install RDKit](https://www.rdkit.org/docs/Install.html) to process molecules 2. Install GENTRL model: `python setup.py install` 3. Install MOSES from the [repository](https://github.com/molecularsets/moses) 4. Run the [pretrain.ipynb](./examples/pretrain.ipynb) to train an autoencoder 5. Run the [train_rl.ipynb](./examples/train_rl.ipynb) to optimize a reward function
Owner
- Name: Ani
- Login: animesh
- Kind: user
- Location: Norway
- Company: Norwegian University of Science and Technology
- Website: https://www.fuzzylife.org
- Twitter: animesh1977
- Repositories: 749
- Profile: https://github.com/animesh
A medical graduate from Delhi University with post-graduation in bioinformatics from Jawaharlal Nehru University, India.