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.1.7.tar.gz (28.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nfp-0.1.7-py3-none-any.whl (14.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nfp-0.1.7.tar.gz
  • Upload date:
  • Size: 28.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.8.7

File hashes

Hashes for nfp-0.1.7.tar.gz
Algorithm Hash digest
SHA256 e66aed3e771e3320978f37fdef796a047de820615cad4c07780836c32153bd90
MD5 08fbbedee120d7d7447283ad565b437f
BLAKE2b-256 5d61b7a20cf0d2be687b96d615297508299d66a328c7a919c71754d20e7c640e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nfp-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 14.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.8.7

File hashes

Hashes for nfp-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 7e1846c6e9d231f5f9c6bd14d3e1ff0754b46d8bef754298cc0c5b76163a6167
MD5 062c09dbb2fa0831971e3fdf12bd2dcb
BLAKE2b-256 4cb48dc6959177a7f3776e3e17c4a53b6b05393a7cb78d303f5739865d3e8b72

See more details on using hashes here.

Supported by

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