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 chapter 3 of my thesis 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.
Metadata
Release files for lsqfitgp 0.21.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| lsqfitgp-0.21.2.tar.gz | 158.9 kB | Without provenance | Details for lsqfitgp-0.21.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lsqfitgp-0.21.2-py3-none-any.whl | Python 3 | none | any | Details for lsqfitgp-0.21.2-py3-none-any.whl |
Total release size: 365.0 kB
Release files / lsqfitgp-0.21.2.tar.gz
| Download URL | lsqfitgp-0.21.2.tar.gz |
|---|---|
| Size | 158.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
11b653afa6fd5ca2edf310c3152f116eaae17bb9c6f4b21eeee0b8e6c2c8183b
|
|
BLAKE2b-256 checksum How to use checksums |
040de0745447b86b3a0a164a7efb1cbe6bb6a815b872a3e9f0bb816dcd6f7c01
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.5
|
Release files / lsqfitgp-0.21.2-py3-none-any.whl
| Download URL | lsqfitgp-0.21.2-py3-none-any.whl |
|---|---|
| Size | 206.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
26d893f8f29779ab4d9fa1054563cd4a7ac951d84bcbec1a89a312676313583e
|
|
BLAKE2b-256 checksum How to use checksums |
408f38562fa5180211a67b9b51c12ec26a2f0391967904c2e9afe58d1470fd23
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.5
|
Security for lsqfitgp 0.21.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.