Skip to main content

Gaussian Process State Space Models in Python/JAX

Project description

smolgp-logo
smolgp
State Space Models for O(Linear/Log) Gaussian Processes

docs Tests codecov arXiv DOI

smolgp is a Python/JAX standalone extension of the tinygp package that implements

  1. A Kalman filter and RTS smoother as a StateSpaceSolver compatible with tinygp-like GP kernels (see smolgp.kernels)
  2. An IntegratedStateSpaceSolver that can handle integrated (and possibly overlapping) measurements from multiple instruments (see Rubenzahl and Hattori et al. submitted)
  3. Parallelized versions of 1 (ParallelStateSpaceSolver, see Särkkä and García-Fernández 2020) and 2 (ParallelIntegratedStateSpaceSolver, see Rubenzahl and Hattori et al. submitted) using jax.lax.associative_scan
  4. Approximations of popular GP kernels that lack quasiseparability (e.g., ExpSineSquared, Quasiperiodic) but can utilize the O(N) states space solvers.

This package (and its documentation) is still under heavy active development, with tutorials coming soon. Please raise issues here and/or reach out to Ryan Rubenzahl and/or So Hattori.

Installation

For the most up-to-date version of the code, clone this repository and install locally.

There is also a version on PyPI (TODO: will be auto-updated with most recent version of this repo):

uv add smolgp

Note that tinygp dependencies require the latest version of the tinygp GitHub repository, rather than the version on PyPI. uv should handle this automatically.

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

smolgp-0.1.0.tar.gz (2.1 MB view details)

Uploaded Source

Built Distribution

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

smolgp-0.1.0-py3-none-any.whl (57.1 kB view details)

Uploaded Python 3

File details

Details for the file smolgp-0.1.0.tar.gz.

File metadata

  • Download URL: smolgp-0.1.0.tar.gz
  • Upload date:
  • Size: 2.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for smolgp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6c6e9c0483fcfd0ccd76e3dc941ab4c1fa96500152463d99b8e282b5b7f96c53
MD5 3dabd294d45e38f5e7b8453010dfa084
BLAKE2b-256 6c7c667803f8be7fccb913c90448fce189fa10369e7f2aafc0c27bd83a958240

See more details on using hashes here.

Provenance

The following attestation bundles were made for smolgp-0.1.0.tar.gz:

Publisher: pypi-publish.yml on smolgp-dev/smolgp

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

File details

Details for the file smolgp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: smolgp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 57.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for smolgp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 717df60c3ca30e4eb238ac6bc6a93def01be84dd4da8e764a6c4d184421950e8
MD5 ccc5271aba83ddee827a15a82fce3595
BLAKE2b-256 f6c3d0afcd5d0b8ecb643be8e74e87ce8ba58dbbd43f6d02fce5685e51235911

See more details on using hashes here.

Provenance

The following attestation bundles were made for smolgp-0.1.0-py3-none-any.whl:

Publisher: pypi-publish.yml on smolgp-dev/smolgp

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