A general purpose Gaussian process regression module
Project description
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.9 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
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
Built Distribution
File details
Details for the file lsqfitgp-0.21.tar.gz
.
File metadata
- Download URL: lsqfitgp-0.21.tar.gz
- Upload date:
- Size: 174.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e05dd266f9b504a0e1317dff4957a4116cfc5a2230c0f12010a8efcee9e77e3 |
|
MD5 | 0a7a1a2087d065cba091c4af82499fce |
|
BLAKE2b-256 | 209aa683848dbe299e8265e8399366cc0f3f48e96c98def594750972467cc8f7 |
File details
Details for the file lsqfitgp-0.21-py3-none-any.whl
.
File metadata
- Download URL: lsqfitgp-0.21-py3-none-any.whl
- Upload date:
- Size: 222.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a27b6dd319648a7328ae6251072692a1249e58ef6d4de05d29780cd4fc82d65 |
|
MD5 | 19277d041455e0f130d2b996df3b6ee9 |
|
BLAKE2b-256 | 4e96f6eb69edf80ab479b62dc88248785e91947abc7d986834b9d8a864ffc2c1 |