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.2.0.tar.gz (64.1 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.2.0-py3-none-any.whl (46.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for lagpy-2.2.0.tar.gz
Algorithm Hash digest
SHA256 1f1525796d49226abf90d1dc75f3f3ac58d858015cac6e0fbaa2d09ae7fe13aa
MD5 1dbfe96b36e1fc7fbba0933d1ac3cd35
BLAKE2b-256 4348987c2e18683c0e02a09b052fbf4258e0132dcf6a3dcc7e25618593071d0b

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for lagpy-2.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f712d58794cd9176b0b912f76797ea60bc905049b3d28f4975e36a34a20fbb8d
MD5 0ea411d92f00b754685dcae2dce50bb9
BLAKE2b-256 157de70d93521f90b06e6d50262326998b97850a0002e04a12e026b357b251a6

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