Giter VIP home page Giter VIP logo

cormorant's Introduction

Overview

This is the Cormorant software package for learning on atomic environments, adapted for the needs of the Dror Lab at Stanford University. We added models for additional types of datasets as well as the necessary features, in particular the possibilities to perform classification tasks, to use a Siamese network architecture, and to put a boundary on the Clebsch-Gordan product (the central operation of this network architecture).

Documentation

To install the documentation, go to the docs folder and run "make html". You will need to install the sphinx_rtd_theme (this can be done using pip install).

Getting started

Installation

Cormorant can be cloned directly from the git repo using:

git clone https://github.com/drorlab/cormorant.git

You can currently install it from source by going to the directory with setup.py and running:

python setup.py

If you would like to modify the source code directly, note that Cormorant can also be installed in "development mode" using the command:

python setup.py develop

Training example

The example training script is in :examples/train_cormorant.py:. The same script can train both the datasets QM9 and MD17, and can also be extended to more general datasets.

python examples/train_qm9.py
python examples/train_md17.py

Note that if no GPU is available, the the training script will throw an error. To force CPU-based training, add the : --cpu: flag

Examples for other models/datasets will be published soon at a dedicated repository.

Architecture

A more detailed description of the Cormorant architecture is available in the Cormorant paper.

The version here was extended to work not only on regression but also on classification tasks and with a Siamese network architecture.

cormorant's People

Contributors

branderson1 avatar ehthiede avatar martinvoegele avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

ultrons

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.