You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Append the package directory location to your PYTHONPATH e.g. by editing the .bashrc file as follows:
vim ~/.bashrc
and adding
export PYTHONPATH
source ~/.bashrc
It is recommended that you install dependencies within a virtual environment. For example, using conda you would run,
from the Constrained_BO_package directory, the commands:
must be run first in order to create the features and targets for molecule generation.
Branin_Hoo
Constrained Bayesian Optimisation on the toy Branin-Hoo function.
Chemical_Design
The Unconstrained directory contains scripts that generate molecules using unconstrained Bayesian Optimisation.
The Constrained directory contains scripts that generate molecules using constrained Bayesian Optimisation.
Within these directories there are 3 scripts optimising the following objectives:
a) bo_gp.py -> logP + SA + ring-penalty
b) bo_gp_qed -> QED + SA + ring-penalty
c) bo_gp_solo_qed -> QED
The Initialisation directory contains code to generate training data for the binary classification neural network in
the scripts Pos_Gen.py and Neg_Gen.py. These scripts inteface with the make_training_data.py script in order to create
the data.
Citing Constrained Bayesian Optimisation for Automatic Chemical Design
Sample Bibtex is given below:
@article{griffiths2020constrained,
title={Constrained Bayesian optimization for automatic chemical design using variational autoencoders},
author={Griffiths, Ryan-Rhys and Hern{\'a}ndez-Lobato, Jos{\'e} Miguel},
journal={Chemical Science},
year={2020},
publisher={Royal Society of Chemistry}
}