Coder Social home page Coder Social logo

gilbertwang1986 / organic Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aspuru-guzik-group/organic

0.0 0.0 0.0 289.34 MB

Code repo for optimizing distributions of molecules.

License: GNU General Public License v3.0

Dockerfile 0.01% Jupyter Notebook 94.48% Python 5.51%

organic's Introduction

ORGANIC

ORGANIC (Objective-Reinforced Generative Adversarial Network for Inverse-design Chemistry) is an efficient molecular generation tool, able to create molecules with desired properties. It has a user-oriented interface, and doesn't require a HPC cluster. Feel free to check our article about ORGANIC and/or contact the developers if you have any issue or are interested in collaborations.

This implementation is authored by Carlos Outeiral ([email protected]), Benjamin Sanchez-Lengeling ([email protected]), Gabriel Guimaraes ([email protected]) and Alan Aspuru-Guzik ([email protected]), affiliated to Harvard University, Department of Chemistry and Chemical Biology, at the time of release.

Installation

How-to

To install, just clone our repo:

git clone https://github.com/aspuru-guzik-group/ORGANIC.git

And, it is done!

Requirements

  • tensorflow==1.2
  • future==0.16.0
  • rdkit
  • keras
  • numpy
  • scipy
  • pandas
  • tqdm
  • pymatgen

How to use

ORGANIC has been carefully designed to be simple, while still allowing full customization of every parameter in the models. Have a look at a minimal example of our code:

model = ORGANIC('OPVs')                     # Loads a ORGANIC with name 'OPVs'
model.load_training_set('opv.smi')          # Loads the training set (molecules encoded as SMILES)
model.set_training_program(['PCE'], [50])   # Sets the training program as 50 epochs with the PCE metric
model.load_metrics()                        # Loads all the metrics
model.train()                               # Proceeds with the training

If you are interested, we encourage you to read our '20 minutes to ORGANIC' tutorial, where you can learn all (literally, all) the functionalities of ORGANIC.

organic's People

Contributors

couteiral avatar beangoben avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.