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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: nfp-0.2.1.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.57.0 CPython/3.8.7

File hashes

Hashes for nfp-0.2.1.tar.gz
Algorithm Hash digest
SHA256 2904bfa5ada1c5bcc97baf694abedbe9ff6fa30f9468aa68d998f3bed4043625
MD5 a079a64cc02508c8463d54586d01042f
BLAKE2b-256 e5a70c911276afc08a3d92e5ef839b317e2fd1e4e48298517732bb9bafeb85da

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: nfp-0.2.1-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.57.0 CPython/3.8.7

File hashes

Hashes for nfp-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9dfb25b6526f508018aea509d4ebbbba573faa6f86eddb0e64a4580e3d781d46
MD5 d972488881a4b05d5910841a60e96285
BLAKE2b-256 9d06197db64bf139d7d5d8a348a17c700c3703ed0d98224211b3d4585ead842d

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