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.1.tar.gz (64.9 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.1-py3-none-any.whl (47.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lagpy-2.2.1.tar.gz
  • Upload date:
  • Size: 64.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for lagpy-2.2.1.tar.gz
Algorithm Hash digest
SHA256 8f8ff5e9de70d0d45c55db858b58d8423a672f41f5ed5bf8079f549eff8ffaa3
MD5 8ef2d7491cd81fad8ea0ba82646e7b08
BLAKE2b-256 5276dd35e2bd261720ccaf5d5a50db0513fad87b0f12f2e5dd11566f2c605e18

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lagpy-2.2.1-py3-none-any.whl
  • Upload date:
  • Size: 47.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for lagpy-2.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0d13bb81b5a54c8b38d95f141c83bd2211645ac759de2d22ad908d37b8611668
MD5 5a01cc094a107595f51552d22ba1c777
BLAKE2b-256 36e54a10f24397247b3a2c45594dfa8fb68b2e218b0ce9adabe187611f1fa572

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