Skip to main content

Gaussian processes in JAX.

Project description

GPJax's logo

codecov CodeFactor Netlify Status PyPI version Conda Version DOI Downloads Slack Invite

Quickstart | Install guide | Documentation | Slack Community

GPJax aims to provide a low-level interface to Gaussian process (GP) models in Jax, structured to give researchers maximum flexibility in extending the code to suit their own needs. The idea is that the code should be as close as possible to the maths we write on paper when working with GP models.

Package organisation

Contributions

We would be delighted to receive contributions from interested individuals and groups. To learn how you can get involved, please read our guide for contributing. If you have any questions, we encourage you to open an issue. For broader conversations, such as best GP fitting practices or questions about the mathematics of GPs, we invite you to open a discussion.

Another way you can contribute to GPJax is through issue triaging. This can include reproducing bug reports, asking for vital information such as version numbers and reproduction instructions, or identifying stale issues. If you would like to begin triaging issues, an easy way to get started is to subscribe to GPJax on CodeTriage.

As a contributor to GPJax, you are expected to abide by our code of conduct. If you feel that you have either experienced or witnessed behaviour that violates this standard, then we ask that you report any such behaviours through this form or reach out to one of the project's gardeners.

Feel free to join our Slack Channel, where we can discuss the development of GPJax and broader support for Gaussian process modelling.

We appreciate all the contributors to GPJax who have helped to shape GPJax into the package it is today.

Supported methods and interfaces

Notebook examples

Guides for customisation

Conversion between .ipynb and .py

Above examples are stored in examples directory in the double percent (py:percent) format. Checkout jupytext using-cli for more info.

  • To convert example.py to example.ipynb, run:
jupytext --to notebook example.py
  • To convert example.ipynb to example.py, run:
jupytext --to py:percent example.ipynb

Installation

Stable version

The latest stable version of GPJax can be installed from PyPI:

pip install gpjax

or from conda-forge:

# with Pixi
pixi add gpjax
# or with conda
conda install --channel conda-forge gpjax

Note

We recommend you check your installation version:

python -c 'import gpjax; print(gpjax.__version__)'

Development version

Warning

This version is possibly unstable and may contain bugs.

Note

We advise you create virtual environment before installing:

conda create -n gpjax_experimental python=3.11.0
conda activate gpjax_experimental

Clone a copy of the repository to your local machine and run the setup configuration in development mode.

git clone https://github.com/thomaspinder/GPJax.git
cd GPJax
uv venv
uv sync --extra dev

We recommend you check your installation passes the supplied unit tests:

uv run poe all-tests

Citing GPJax

If you use GPJax in your research, please cite our JOSS paper.

@article{Pinder2022,
  doi = {10.21105/joss.04455},
  url = {https://doi.org/10.21105/joss.04455},
  year = {2022},
  publisher = {The Open Journal},
  volume = {7},
  number = {75},
  pages = {4455},
  author = {Thomas Pinder and Daniel Dodd},
  title = {GPJax: A Gaussian Process Framework in JAX},
  journal = {Journal of Open Source Software}
}

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

gpjax-0.14.0rc1.tar.gz (4.9 MB view details)

Uploaded Source

Built Distribution

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

gpjax-0.14.0rc1-py3-none-any.whl (110.6 kB view details)

Uploaded Python 3

File details

Details for the file gpjax-0.14.0rc1.tar.gz.

File metadata

  • Download URL: gpjax-0.14.0rc1.tar.gz
  • Upload date:
  • Size: 4.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for gpjax-0.14.0rc1.tar.gz
Algorithm Hash digest
SHA256 32d0ebf0125cb3757a54ba2a5afcdef709011488a5395a94a9376492e79932b6
MD5 4196eb5d465094ed42b018938282ae62
BLAKE2b-256 ad75e81653b27a07bc3bfb95b108eb0cf6c82874716666762247341a40087f94

See more details on using hashes here.

Provenance

The following attestation bundles were made for gpjax-0.14.0rc1.tar.gz:

Publisher: release.yml on thomaspinder/GPJax

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gpjax-0.14.0rc1-py3-none-any.whl.

File metadata

  • Download URL: gpjax-0.14.0rc1-py3-none-any.whl
  • Upload date:
  • Size: 110.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for gpjax-0.14.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 97b0e2d907dbb590fee2dbb8ae8175fec75849de766b2dd1fdb1a8f3a11f5286
MD5 bc5d8a7ec6fc7f8a9e2c41eafffbc023
BLAKE2b-256 892c8d81715fdaa417fd5be60d0b8cd5846d6badbdb1d98edb0f80a3db6125ea

See more details on using hashes here.

Provenance

The following attestation bundles were made for gpjax-0.14.0rc1-py3-none-any.whl:

Publisher: release.yml on thomaspinder/GPJax

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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