Skip to main content

Python implementation of hetGP

Project description

hetGPy: Heteroskedastic Gaussian Process Modeling in Python

DOI PyPI Downloads PyPI version

hetGPy is a Python implementation of the hetGP R library. Please see our JOSS paper for an in-depth introduction to the package.

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 available 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.5rc1.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.5rc1-cp312-cp312-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.12Windows x86-64

hetgpy-1.0.5rc1-cp312-cp312-musllinux_1_2_x86_64.whl (5.8 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

hetgpy-1.0.5rc1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.1 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

hetgpy-1.0.5rc1-cp312-cp312-macosx_11_0_arm64.whl (1.3 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

hetgpy-1.0.5rc1-cp311-cp311-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.11Windows x86-64

hetgpy-1.0.5rc1-cp311-cp311-musllinux_1_2_x86_64.whl (5.8 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

hetgpy-1.0.5rc1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.1 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

hetgpy-1.0.5rc1-cp311-cp311-macosx_11_0_arm64.whl (1.3 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

hetgpy-1.0.5rc1-cp310-cp310-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.10Windows x86-64

hetgpy-1.0.5rc1-cp310-cp310-musllinux_1_2_x86_64.whl (5.7 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

hetgpy-1.0.5rc1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.0 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

hetgpy-1.0.5rc1-cp310-cp310-macosx_11_0_arm64.whl (1.3 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

Details for the file hetgpy-1.0.5rc1.tar.gz.

File metadata

  • Download URL: hetgpy-1.0.5rc1.tar.gz
  • Upload date:
  • Size: 3.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for hetgpy-1.0.5rc1.tar.gz
Algorithm Hash digest
SHA256 223ca0018fffae8f42ae3c0a5dfa73f7714e60ce87a523f5d054c8a1eef1bd2c
MD5 47ee5847caea4e2e605e62eecac499f5
BLAKE2b-256 a01fc0443db26472ca3af287564ce1b394a50e22d81b525e9d82aee206864d73

See more details on using hashes here.

Provenance

The following attestation bundles were made for hetgpy-1.0.5rc1.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.5rc1-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: hetgpy-1.0.5rc1-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for hetgpy-1.0.5rc1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 ed90382cd4d8a20b6c0c85d7d400f97564021465aaced4db5fc1633b97b4da4b
MD5 cfeea2530f8824e8e971954951a94c39
BLAKE2b-256 b667313079ac4175a9aef3d5897636672b8d4cf52dedb5be5dd49af6d2c98bb5

See more details on using hashes here.

Provenance

The following attestation bundles were made for hetgpy-1.0.5rc1-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.5rc1-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for hetgpy-1.0.5rc1-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 a1a5726fdafb0b8d70dc7ea765eb3c4c9e04570dede18f1ed89f1b307034891f
MD5 50ec95eba575fd73dfbb962201d30535
BLAKE2b-256 ed467b61d638da6f9e0626ca55607a3abbe2b1850ff26aa46a80019e1ea5f6a2

See more details on using hashes here.

Provenance

The following attestation bundles were made for hetgpy-1.0.5rc1-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.5rc1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for hetgpy-1.0.5rc1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fa3766ca16622d79261f17b56987547e9e52750909a45c59068d9c1c61c9cac7
MD5 d0639104bd504cd186a7b00210d0870f
BLAKE2b-256 d9d0100b82ef842907b2a4dc206447ff27a45b7cc6b9a1b664b5124f6d894eb4

See more details on using hashes here.

Provenance

The following attestation bundles were made for hetgpy-1.0.5rc1-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.5rc1-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for hetgpy-1.0.5rc1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1ef1b975491410e507ed6309141616cbffeefbd1f28aa1b2b053bed52351799e
MD5 4b00d49b4817960d0d840100b3b39198
BLAKE2b-256 50ffbf36fd3746b7123419c717d3f1e2646bbe081c11a975fc9447cefb25b4b2

See more details on using hashes here.

Provenance

The following attestation bundles were made for hetgpy-1.0.5rc1-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.5rc1-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: hetgpy-1.0.5rc1-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for hetgpy-1.0.5rc1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 13150d0cad5a70590a3c3f146037ab167eb30b80c7ca9ec2b07dfad78a10190e
MD5 fbf6d16d2d4134ca7291cdea0503bc74
BLAKE2b-256 d6ae04244a405dd1f4bb1cfdfe27a8cf7f7e939f3317601fa19b9ecadf3173e7

See more details on using hashes here.

Provenance

The following attestation bundles were made for hetgpy-1.0.5rc1-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.5rc1-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for hetgpy-1.0.5rc1-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 60daf34512dcdf3de5881df728d7c2cbfcf90e35987a4070e66c9ba795b79402
MD5 49ca86edd2ee85717401e3d7b6730c81
BLAKE2b-256 21dc1ca1a4ee21859e43ea1e5854a6112fe3434ecdb71aab5ab2745e8ee00a78

See more details on using hashes here.

Provenance

The following attestation bundles were made for hetgpy-1.0.5rc1-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.5rc1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for hetgpy-1.0.5rc1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8d063894fee3d35ff2ac388e4b42954f2949cc01f4a7250ddd0eca930d11c855
MD5 7fdcbc797f274a5dae0a9819c6065652
BLAKE2b-256 e11a7d756f28553ba7122362ec091f31d6c41d661253356d18ef21621672430f

See more details on using hashes here.

Provenance

The following attestation bundles were made for hetgpy-1.0.5rc1-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.5rc1-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for hetgpy-1.0.5rc1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 08c5901624933824806432d708421a10fd57fdc80ad72b57485db9781df3908f
MD5 d1bf886c17ffff1f55d98e5a1a24d84e
BLAKE2b-256 ba81999dc81b951f6f956a2f34f757a13b490b2fdbf283ad45082c73c2589e39

See more details on using hashes here.

Provenance

The following attestation bundles were made for hetgpy-1.0.5rc1-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.5rc1-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: hetgpy-1.0.5rc1-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for hetgpy-1.0.5rc1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 aac80ca0a5c874dc8c1603cbbaea87a9f502985bfe6b83b1b34a72ab8abfdc3c
MD5 300b6bffd2ef351aba76e0d60e064aa5
BLAKE2b-256 04fec98b4ce135a8129af51f84b198dd2887057ae6ffb20e0b9ca17815cef8a9

See more details on using hashes here.

Provenance

The following attestation bundles were made for hetgpy-1.0.5rc1-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.5rc1-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for hetgpy-1.0.5rc1-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 4225480005fff26fddfac6502a919538454290fae9281701379a1ab09b605de7
MD5 9ba4445c68d58babe31ab43ed400f11c
BLAKE2b-256 3ba08993360bb58b45f8bc4b6e8bddc17fa2058f0119a710502b44a264e990ee

See more details on using hashes here.

Provenance

The following attestation bundles were made for hetgpy-1.0.5rc1-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.5rc1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for hetgpy-1.0.5rc1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 46e8ac1dd426075137c99d15f96657e97eaa39a28abc994f6da2ce8fef83286f
MD5 c42e83b292017d2472c9751ddeda2470
BLAKE2b-256 4e7d2e47fa1eed7afe63a84d4881331d0a901fe44d29aef3af832df86443519a

See more details on using hashes here.

Provenance

The following attestation bundles were made for hetgpy-1.0.5rc1-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.5rc1-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for hetgpy-1.0.5rc1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1332844eae99202ba81d01d50f4e77820672a640f3a5470d1747a5deb572a941
MD5 cc77a116e55e4ffa8327ec8631149626
BLAKE2b-256 a2bc9219cd95fa017582f407406c99b2c6fdf769d5c2b494a4545a548fedc208

See more details on using hashes here.

Provenance

The following attestation bundles were made for hetgpy-1.0.5rc1-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