Skip to main content

A general purpose Gaussian process regression module

Project description

PyPI DOI

lsqfitgp

Python module to do inference with Gaussian processes. Features:

  • Based on JAX.
  • Interoperates with gvar and lsqfit to facilitate inexpert users.
  • Recursively structured covariates.
  • Apply arbitrary linear transformations to the processes, finite and infinite.
  • Small PPL based on Gaussian copulas to specify the hyperparameters prior.
  • Rich collection of covariance functions.
  • Good GP versions of BART (Bayesian Additive Regression Trees) and BCF (Bayesian Causal Forests).

See this report for the theory behind lsqfitgp.

Installation

Python >= 3.10 required. Then:

$ pip install lsqfitgp

Documentation

The complete manual is available online at gattocrucco.github.io/lsqfitgp/docs. All the code is documented with docstrings, so you can also use the Python help system directly from the shell:

>>> import lsqfitgp as lgp
>>> help(lgp)
>>> help(lgp.something)

or, in an IPython shell/Jupyter notebook/Spyder IDE, use the question mark shortcut:

In [1]: lgp?

In [2]: lgp.something?

Similar libraries

See also Comparison of Gaussian process Software on Wikipedia.

License

This software is released under the GPL. Amongst other things, it implies that, if you release an adaptation of this software, or even a program just importing it as external library, you have to release its code as open source with a license at least as strong as the GPL.

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

lsqfitgp-0.21.1.tar.gz (175.0 kB view details)

Uploaded Source

Built Distribution

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

lsqfitgp-0.21.1-py3-none-any.whl (223.0 kB view details)

Uploaded Python 3

File details

Details for the file lsqfitgp-0.21.1.tar.gz.

File metadata

  • Download URL: lsqfitgp-0.21.1.tar.gz
  • Upload date:
  • Size: 175.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for lsqfitgp-0.21.1.tar.gz
Algorithm Hash digest
SHA256 57477e0c429dbdb8f501d5cbff2cd7b85250d2e5adf7acf1ccc2172cdd80774f
MD5 fdfec1358057d02a470ef16e43860f5b
BLAKE2b-256 f8d12ba33a3dbf4b57363aa22a325e172fde7a7d517d40173f17eb7b5a7e088f

See more details on using hashes here.

File details

Details for the file lsqfitgp-0.21.1-py3-none-any.whl.

File metadata

  • Download URL: lsqfitgp-0.21.1-py3-none-any.whl
  • Upload date:
  • Size: 223.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for lsqfitgp-0.21.1-py3-none-any.whl
Algorithm Hash digest
SHA256 34a76629d257ff760c16892b690aea641134b707864a61251f0bb382c68d6ca9
MD5 f1b120d5d185ac814e77f8de85da71f1
BLAKE2b-256 35372289bdba83d1fc0582ddf6a5a470f6ab55f9115007543f879f1a3660bf2e

See more details on using hashes here.

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