Skip to content

Latest commit

 

History

1,068 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 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.

About

A general purpose Gaussian process regression module

Topics

Resources

Stars

11 stars

Watchers

1 watching

Forks

Releases

Used by

Contributors

Languages