Skip to main content

A general purpose Gaussian process regression module

Project description

PyPI

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 (Bayes Additive Regression Trees) and BCF (Bayesian Causal Forests).

See this report for the theory behind lsqfitgp.

Installation

Python >= 3.8 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.20.2.tar.gz (165.4 kB view hashes)

Uploaded Source

Built Distribution

lsqfitgp-0.20.2-py3-none-any.whl (211.6 kB view hashes)

Uploaded Python 3

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