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 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.2.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.2-cp312-cp312-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.12Windows x86-64

hetgpy-1.0.2-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.2-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.2-cp312-cp312-macosx_11_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

hetgpy-1.0.2-cp311-cp311-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.11Windows x86-64

hetgpy-1.0.2-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.2-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.2-cp311-cp311-macosx_11_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

hetgpy-1.0.2-cp310-cp310-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.10Windows x86-64

hetgpy-1.0.2-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.2-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.2-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.2.tar.gz.

File metadata

  • Download URL: hetgpy-1.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 5ec4de6ca8d2fdeb6f7e2a39d3c8d308a7b16eaed2c7c7dc618ce72fe4e9a72f
MD5 68a7355cf56e6b1bf52415260c0cdd49
BLAKE2b-256 a8091dfdde2b0332f06aa7ddb93e5a8e44c086d940811e3c8e734100d62bba2c

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: hetgpy-1.0.2-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 1.1 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.2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 33a101593ae13dc88f7742aadbf514b4cbadd87b8de637c52638281fa3077e98
MD5 a826fefc7f1b6ee0472257a30a9abd7b
BLAKE2b-256 a851f2336b90b745efcb9f15ecd09c0edfada4a483d6c55b01b04d68cfb1c5d0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for hetgpy-1.0.2-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 dfd04398f061361f0e3f90065e2676d9fc1ee8ebe378eefc74d0e79b0f4f1e9b
MD5 47ac76095daf30dc5fb5e645a4b18092
BLAKE2b-256 f5b0a5077003f213e1911b930abf1517a6d9df26d982c03e79bdab45ea281b33

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for hetgpy-1.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ff2aeed2ff9317c372b273a8bca1e0cfeed6fc146462a892d8cfc16ca7deb451
MD5 fed34bb2af5e04da0978f140524d930c
BLAKE2b-256 8c1c2d7e298f31fd4e63e3628042a03d63b6310811aa940ecf1f58d851161f2a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for hetgpy-1.0.2-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 95a2a7ed4c058c3d3288b02fe310f8111341cdb84511490b36bd17d92ae9553a
MD5 413997d26f76da598fa8389989f9e239
BLAKE2b-256 08983803a109a517391e9c9e6b89ac5df8bc250aa16eed3c847a4687f2c39eb4

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: hetgpy-1.0.2-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 1.1 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.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 d5f2e291a5730765a23c439084747826229d4d517a1c12dcc4b8fb5f2fc5d1f6
MD5 cf9b6e94a3ce4f1280e8e177236cb88b
BLAKE2b-256 72ab7d66dcc6ef6c2040a4607f5966b7513c43e5998eea17ddfd903ab0111133

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for hetgpy-1.0.2-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 00b349a7cf4705c2b2da6730ee35c898e4d06811e4f983cc8d0d513afe0fe28c
MD5 4a3bcae9858d9dac460989b6759de57e
BLAKE2b-256 22611149e3e8a50cecf4ab887745a243bd9934ac1800ec1e26f528bea84fb969

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for hetgpy-1.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 29a5b8667508ef508c90080473aa8340b8c8b91ec3e1e8d802e7bf690963520f
MD5 3aa62c64a4dbf758a68ecb294f1cf65c
BLAKE2b-256 d2f72b06b490a9fddf2efc946cac55ea437bd3d454fbe1c65f698e998dc70780

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for hetgpy-1.0.2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ca390b3b9fe9fde614c3388cca622ed5544e6183d532ca591a4a5510ec9daeb5
MD5 b92c75aaa681cf6e02d2773e12f6c938
BLAKE2b-256 2a1f240bc4e1551200ea1d322a75e6f6db3e3c0b83be6641e368541a221ef07f

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: hetgpy-1.0.2-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 1.1 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.2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 6879286f21240b3029faeadd4a3add6e1c89ab11b04dce7c0f8272bca4cbf610
MD5 c8186c2abd36f950a25c3fd22374a821
BLAKE2b-256 e8f500cb9600a96ee03e591c437498b938042f0a2840073d20f675823d16a474

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for hetgpy-1.0.2-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 cdc71afc0e789423bb8b057eebbff50f159df411997576cdd9272c5ede05b917
MD5 219ac2e85e61afba76df0f993d007ba9
BLAKE2b-256 ac2f207d410118522920056631849d71af3f3b7f97d4448cf98044f001e38a01

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for hetgpy-1.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 cd194f6854bff09352aa0b59aecd2a9b8531b93fd1788f2ca133513fc34cff22
MD5 f54c32f070c4ad9acc78d702d2cb623e
BLAKE2b-256 0ca1a41af90743091ea9d1518f0d22d1dacc750d89ad0da6e974be66f8b55b4f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for hetgpy-1.0.2-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 34998db00bad6f3d2189c284cdc8290333ec85d07719fa7996e120271b8b01cf
MD5 ee6a1875e46b0615c1cb20dc72274c48
BLAKE2b-256 a9c67e85fe1adb17103fa1f12635c24e92cfab8386631b21a2a585786396241c

See more details on using hashes here.

Provenance

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