Skip to main content

Keras layers for machine learning on graph structures

Project description

Build Status PyPI version DOI

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

Uploaded Source

Built Distribution

nfp-0.3.8-py3-none-any.whl (19.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nfp-0.3.8.tar.gz
  • Upload date:
  • Size: 31.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for nfp-0.3.8.tar.gz
Algorithm Hash digest
SHA256 c0f23766fbbb5a22e3f29ee8200b4e4e0e6498eb15a0a39e7267a16e77b9bb8f
MD5 4bf396d6998892a8f00917076b0da491
BLAKE2b-256 1c36b6c97ae4c27b2643fce08cf091608193ee10ecad452346fc4890043d9095

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: nfp-0.3.8-py3-none-any.whl
  • Upload date:
  • Size: 19.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for nfp-0.3.8-py3-none-any.whl
Algorithm Hash digest
SHA256 7385436ccae9dfcc8be5c50917a677f42031289722322e8dde2964f514426919
MD5 f81c23e45c53a01c7efbd4f3c485bcdf
BLAKE2b-256 dd3348a339d31160e7ef6313b10517018017cabaf4f0cb2e54d3d9b55e19518a

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