Skip to main content

Python implementation of hetGP

Project description

hetGPy: Heteroskedastic Gaussian Process Modeling in Python

hetGPy is a Python implementation of the hetGP R library.

This package has the goals of:

  • Matching the behavior of the R package
  • Having minimal Python and external dependencies, which are:
    • numpy and scipy for computations
    • matplotlib for visualization
    • joblib for parallelization
    • tqdm for progress bars
    • Eigen (C++) for fast calculations (when vectorization is non-obvious)

The motivation for such a package is due to the rising popularity of implementing simulation models (also known as computer experiments) in Python.

Documentation

The package documentation is available at: https://hetgpy.readthedocs.io/en/latest/

Installing and Environments

pypi

  • hetGPy is availalbe on pypi:
pip install hetgpy

Development Version:

python -m pip install git+https://github.com/davidogara/hetGPy.git
  • To build from the source files:
  1. Clone the repository. Make sure to include --recurve-submodules if you do not already have Eigen installed on your system:
git clone --recurse-submodules https://github.com/davidogara/hetGPy.git
  1. With hetGPy as your current working directory:
pip install -e .

We recommend installing in a virtual environment. One way to do this with venv is:

python3.10 -m venv .venv

After this you should be able to run the examples in the examples folder.

Note on Dependencies

  • hetGPy requires scipy>=1.14.0 which fixed a memory leakage issue when using L-BFGS-B in scipy.optimize.minizmize. That version of scipy requires Python 3.10.

  • Since hetGPy is designed for large-scale problems, this was chosen as a necessary feature. Experienced users may be able to roll back some of the dependencies, but this is not the recommended use.

  • hetGPy also requires a c++17 compiler and Eigen for the underlying covariance functions. Eigen 3.4.0 is included with the source files (and is a submodule of the git repository), but experienced users may wish to link against their own installation.

Contact

For questions regarding this package, please contact:
David O'Gara
Division of Computational and Data Sciences, Washington University in St. Louis
david.ogara@wustl.edu

References

Binois M, Gramacy RB (2021). “hetGP: Heteroskedastic Gaussian Process Modeling and Sequential Design in R.” Journal of Statistical Software, 98(13), 1-44. doi:10.18637/jss.v098.i13 https://doi.org/10.18637/jss.v098.i13

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

hetgpy-1.0.1.tar.gz (3.9 MB view details)

Uploaded Source

Built Distributions

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

hetgpy-1.0.1-cp312-cp312-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.12Windows x86-64

hetgpy-1.0.1-cp312-cp312-musllinux_1_2_x86_64.whl (4.9 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

hetgpy-1.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.1 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

hetgpy-1.0.1-cp312-cp312-macosx_11_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

hetgpy-1.0.1-cp311-cp311-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.11Windows x86-64

hetgpy-1.0.1-cp311-cp311-musllinux_1_2_x86_64.whl (4.9 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

hetgpy-1.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.1 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

hetgpy-1.0.1-cp311-cp311-macosx_11_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

hetgpy-1.0.1-cp310-cp310-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.10Windows x86-64

hetgpy-1.0.1-cp310-cp310-musllinux_1_2_x86_64.whl (4.9 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

hetgpy-1.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.1 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

hetgpy-1.0.1-cp310-cp310-macosx_11_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

Details for the file hetgpy-1.0.1.tar.gz.

File metadata

  • Download URL: hetgpy-1.0.1.tar.gz
  • Upload date:
  • Size: 3.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for hetgpy-1.0.1.tar.gz
Algorithm Hash digest
SHA256 7048ad83f610b02644fe728cb9b5ce63f774ae5802f2038ff54a9ca5b4ff36d8
MD5 16332c4db9f11b418e0dd0358cc9d841
BLAKE2b-256 93539a93b9d89f6aa4f8edc23fd41b4372b0ef85536512fc644c90dbca6b96a2

See more details on using hashes here.

Provenance

The following attestation bundles were made for hetgpy-1.0.1.tar.gz:

Publisher: ci.yaml on davidogara/hetGPy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hetgpy-1.0.1-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: hetgpy-1.0.1-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for hetgpy-1.0.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 0f325dfa7bce1a60bc63b4eb02ce5b54dcae2e4157b52f39faa12c4e3a6fc6f0
MD5 f5d5bf3b51f479da17ecc5346242e49d
BLAKE2b-256 ebc5d225f65757a0c6e9b73daed4490819b579d2db5d38e3e4ae662132586c23

See more details on using hashes here.

Provenance

The following attestation bundles were made for hetgpy-1.0.1-cp312-cp312-win_amd64.whl:

Publisher: ci.yaml on davidogara/hetGPy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hetgpy-1.0.1-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for hetgpy-1.0.1-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 0be4dde1bb9b890e03f04c15703657872496725f92b06a0c751bbb591b2ad775
MD5 73aff26e1f22320b17f0a88c2794e4f2
BLAKE2b-256 4577d6a74ec6d5499a592e0859f650a383f53abdb3acb80c53c32e8b95f9ca23

See more details on using hashes here.

Provenance

The following attestation bundles were made for hetgpy-1.0.1-cp312-cp312-musllinux_1_2_x86_64.whl:

Publisher: ci.yaml on davidogara/hetGPy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hetgpy-1.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for hetgpy-1.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9b741e94c028179741dc9af122710ce11116cfdd6391976081decc473784fa63
MD5 b30bcda0520747043bae9d2614596e30
BLAKE2b-256 cb61cc4c9c5f6abf885310f5c8614a23e2fe21574d35e10bf6aa055027584257

See more details on using hashes here.

Provenance

The following attestation bundles were made for hetgpy-1.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: ci.yaml on davidogara/hetGPy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hetgpy-1.0.1-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for hetgpy-1.0.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 96332eed4051b219cb0650dd386fe6a0ecc9435704e92c58410a5e5d2c15cc9d
MD5 8dc11892ca547bb326726f63985b2eb6
BLAKE2b-256 60cd7d3bf0633d5ba247b99460d03c55f8c4a8f6663602a6531c0bdbf4f38f00

See more details on using hashes here.

Provenance

The following attestation bundles were made for hetgpy-1.0.1-cp312-cp312-macosx_11_0_arm64.whl:

Publisher: ci.yaml on davidogara/hetGPy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hetgpy-1.0.1-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: hetgpy-1.0.1-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for hetgpy-1.0.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 093ba503cb2c3b52f2a3d1abfb40f8ca5dc54d1801f92dc4402a445bbd98c829
MD5 ec0f45fca9f5c01ef8932fd23ded22e6
BLAKE2b-256 7e085163e1ba28a0ac3a1b15758fa924a7fa864a55384659433dba75eacc8655

See more details on using hashes here.

Provenance

The following attestation bundles were made for hetgpy-1.0.1-cp311-cp311-win_amd64.whl:

Publisher: ci.yaml on davidogara/hetGPy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hetgpy-1.0.1-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for hetgpy-1.0.1-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d766e8b5c71dbf6a155af8c3da8475a265b45f4d086599490213bcc4ec5ece94
MD5 b31aab2240346d4442dad98215f1e49c
BLAKE2b-256 d8b8df19914b33b2c16c544cd52f305e08cfd106919a8e8cafafe0ef9a56a4c0

See more details on using hashes here.

Provenance

The following attestation bundles were made for hetgpy-1.0.1-cp311-cp311-musllinux_1_2_x86_64.whl:

Publisher: ci.yaml on davidogara/hetGPy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hetgpy-1.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for hetgpy-1.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 38c58a6f58a6c560de6c28486ef639975736e905a4a05d19e77940e5150fb423
MD5 d561f8f4cccb9c2b5bca753a5f1d2321
BLAKE2b-256 dcebb4f07e7c447239daa1481b225d7099d93e8be589f0438f16a14e22ff907b

See more details on using hashes here.

Provenance

The following attestation bundles were made for hetgpy-1.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: ci.yaml on davidogara/hetGPy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hetgpy-1.0.1-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for hetgpy-1.0.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6c5f1fbc0d7b6ba6a126f098b6fb32686c96bec81e2a1c41b78df8bcf9e1610b
MD5 910ec59236204cad30dcfcb7a8f0943a
BLAKE2b-256 1ff745379a311e9c7bcf0eb83d687619824e2e69e0277ade415373a7c0215d1e

See more details on using hashes here.

Provenance

The following attestation bundles were made for hetgpy-1.0.1-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: ci.yaml on davidogara/hetGPy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hetgpy-1.0.1-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: hetgpy-1.0.1-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for hetgpy-1.0.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 ec55077c922199697f8c728847a14f2f131c2190fad10874b3ed531ae53e26af
MD5 557d70c875807b1fca8fc9b5537d9a4d
BLAKE2b-256 ad023e41718174b107dfc956f8d09408e8aec94947d0bcd22ab943e5e77470fe

See more details on using hashes here.

Provenance

The following attestation bundles were made for hetgpy-1.0.1-cp310-cp310-win_amd64.whl:

Publisher: ci.yaml on davidogara/hetGPy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hetgpy-1.0.1-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for hetgpy-1.0.1-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 09035cae128863a80655693e44ac355c5b24dd99e354e17f0cb50172a81c5362
MD5 3a53b4e43b258796d9dbf4491e287066
BLAKE2b-256 413f3c0c844146d939bf51cda75e046b06fdbad7bca738208787fff50588103b

See more details on using hashes here.

Provenance

The following attestation bundles were made for hetgpy-1.0.1-cp310-cp310-musllinux_1_2_x86_64.whl:

Publisher: ci.yaml on davidogara/hetGPy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hetgpy-1.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for hetgpy-1.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 50a93a35933607c61be72f469628b083da8f7dfe28920d4f94286698da336402
MD5 d87eabce935a2009ca79a44da912b63b
BLAKE2b-256 40382bad72f764bb3be59ad06f5fcaa441997aa27c24191f25743b0942fbe7e8

See more details on using hashes here.

Provenance

The following attestation bundles were made for hetgpy-1.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: ci.yaml on davidogara/hetGPy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hetgpy-1.0.1-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for hetgpy-1.0.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7904aea760c97450f7ef6bdfd36a3aa167224867fd0abaae0f2c3c03a298acc0
MD5 b7538a71a2934a69eb7ea0dcac41deb2
BLAKE2b-256 3e85a42ef966631e820e4b626fa73d0f62c3baa66ce04d143c0286fa5ef4e842

See more details on using hashes here.

Provenance

The following attestation bundles were made for hetgpy-1.0.1-cp310-cp310-macosx_11_0_arm64.whl:

Publisher: ci.yaml on davidogara/hetGPy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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