Skip to content

Repository files navigation

UML Energy & Combustion Research Laboratory

GraphChem: Graph-based machine learning for chemical property prediction

GitHub version PyPI version GitHub license Documentation Status

GraphChem is an open source Python package for constructing graph-based machine learning models with a focus on fuel property prediction.

Installation

Prerequisites

  • Python 3.10 or newer

Method 1: pip

$ pip install graphchem

Method 2: From source

$ git clone https://github.com/ecrl/graphchem
$ cd graphchem
$ python -m pip install .

If installation fails for RDKit, PyTorch, or torch-geometric, follow the vendor guides: RDKit, PyTorch, PyTorch Geometric.

Documentation

Examples

Notebooks are under examples/ on GitHub. See also the tutorials page in the docs.

For reproducible runs, set seeds before training or evaluation, for example:

import numpy as np
import torch

torch.manual_seed(0)
np.random.seed(0)

Exact numeric results can still vary across platforms and dependency wheel builds (RDKit / PyTorch / PyG).

Contributing and support

For additional questions, contact Travis Kessler (travis.j.kessler@gmail.com).

About

Molecular graph neural networks for predicting chemical properties, with a focus on fuels

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages