Skip to main content

Python implementation of local approximate GP

Project description

laGPy - Python implementation of local approximate GP (laGP)

What is local approximate GP?

This tool is largely based on the methods of Gramacy (2016). Local approximate GP (laGP) approximates GP regression by sequentially selecting local designs, which is a subset of the whole training dataset, with respect to some untried location in the input space and make output prediction at that loaction.

A complete documentation about laGP and an associated R package can be found in https://bobby.gramacy.com/r_packages/laGP/

Installation

laGPy requires Python 3.8 (or higher). To install laGPy:

pip install lagpy

Disclaimer

This Python implementation of laGP (Local Approximate Gaussian Process) is an independent project not affiliated with the original R package (version 1.5-8). It implements the core concepts and algorithms from Gramacy (2016) but was developed separately without input from the original developers of the R package. As such, it may not include all features or recent updates available in the R implementation.

In its current form, this package implements two key techniques for local design selection: 'nearest neighbour' and 'active learning Cohn'. It also offers additional features not found in the original R package, including the ability to build a GP using the full training dataset and save models as pickle files for later use and easier integration in other python-based tools and models that may need such GP models. This implementation is still under development and may receive updates and additional features in future releases.

This package is distributed under the terms of the GNU Lesser General Public License (LGPL) version 3 or later, consistent with the licensing of the original work.

References

Robert B. Gramacy & Daniel W. Apley (2015) Local Gaussian Process Approximation for Large Computer Experiments, Journal of Computational and Graphical Statistics, 24:2, 561-578, https://doi.org/10.1080/10618600.2014.914442

Gramacy, R. B. (2016). laGP: Large-scale spatial modeling via local approximate Gaussian processes in R. Journal ofStatistical Software, 72(1), 1–46. https://doi.org/10.18637/jss.v072.i01

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

lagpy-2.1.6.tar.gz (62.6 kB view details)

Uploaded Source

Built Distribution

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

lagpy-2.1.6-py3-none-any.whl (45.5 kB view details)

Uploaded Python 3

File details

Details for the file lagpy-2.1.6.tar.gz.

File metadata

  • Download URL: lagpy-2.1.6.tar.gz
  • Upload date:
  • Size: 62.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for lagpy-2.1.6.tar.gz
Algorithm Hash digest
SHA256 dc070b63dce3eba517ee1465ffe5be05ae4e7b99984038d641a5e3ac3e363e6c
MD5 0ab13dcba9b48e42093d4b8756301546
BLAKE2b-256 3947191822d44537b527b37461f40d862671236e12f710ccc7e7291536bf6d47

See more details on using hashes here.

File details

Details for the file lagpy-2.1.6-py3-none-any.whl.

File metadata

  • Download URL: lagpy-2.1.6-py3-none-any.whl
  • Upload date:
  • Size: 45.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for lagpy-2.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 a30a851530d6935c7e31e5a9a78f8795f582f6e5b993e6e44688a423e2f5ddeb
MD5 d88961ed50f9a41e865473cb8cb5e443
BLAKE2b-256 fb728d9306891f43e9041cb362b5af6e4aa1de01502f74bb4bc3d3d4aa12f34a

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