Skip to main content

Keras layers for machine learning on graph structures

Project description

Build Status PyPI version

Neural fingerprint (nfp)

Keras layers for end-to-end learning on molecular structure. Based on Keras, Tensorflow, and RDKit. Source code used in the study Message-passing neural networks for high-throughput polymer screening

Related Work

  1. Convolutional Networks on Graphs for Learning Molecular Fingerprints
  2. Neural Message Passing for Quantum Chemistry
  3. Relational inductive biases, deep learning, and graph networks
  4. Neural Message Passing with Edge Updates for Predicting Properties of Molecules and Materials

(Main) Requirements

Getting started

This library extends Keras with additional layers for handling molecular structures (i.e., graph-based inputs). There a strong familiarity with Keras is recommended.

An overview of how to build a model is shown in examples/solubility_test_graph_output.ipynb. Models can optionally include 3D molecular geometry; a simple example of a network using 3D geometry is found in examples/model_3d_coordinates.ipynb.

The current state-of-the-art architecture on QM9 (published in [4]) is included in examples/schnet_edgeupdate.py. This script requires qm9 preprocessing to be run before the model is evaluated with examples/preprocess_qm9.py.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nfp-0.3.1.tar.gz (27.8 kB view details)

Uploaded Source

Built Distribution

nfp-0.3.1-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

Details for the file nfp-0.3.1.tar.gz.

File metadata

  • Download URL: nfp-0.3.1.tar.gz
  • Upload date:
  • Size: 27.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.11

File hashes

Hashes for nfp-0.3.1.tar.gz
Algorithm Hash digest
SHA256 78076f51f3d3aac57a3e0e987dc48e14ea5a313f9dc5e191be7301d6e9f60d86
MD5 43edaeaa8a940efddd4ff875fa683649
BLAKE2b-256 866386cda35974ca2de4623e573cf59d81f6231e9d48aec7ae048e246ee5e79c

See more details on using hashes here.

Provenance

File details

Details for the file nfp-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: nfp-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 12.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.11

File hashes

Hashes for nfp-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 feb7ba119e82f7cd31b8d1c46c45c278d616bb7859e1f0ab41471fb3f4559687
MD5 90adfc2da8166e4534dee4f53c28e176
BLAKE2b-256 d573ffc613628dd2d40b2929f435cee72044df827d067ff733edc4db4530e7a9

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page