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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12macOS 11.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.11macOS 11.0+ ARM64

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

Uploaded CPython 3.10Windows x86-64

hetgpy-1.0.4-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.4-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.4-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.4.tar.gz.

File metadata

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

File hashes

Hashes for hetgpy-1.0.4.tar.gz
Algorithm Hash digest
SHA256 4f96562555d54fb3f675997e995f8997f29553d757b29b1629131d9a31190d7b
MD5 06e9b443a6a928e15fae15c502b16a15
BLAKE2b-256 83c470b92d9497e473d2875b4b237c0ca6a6d08eca69a972c978cd0c6224d4c7

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: hetgpy-1.0.4-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.1.0 CPython/3.12.9

File hashes

Hashes for hetgpy-1.0.4-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 5aa530f152315ce2fba6f2da46eb41e99be87220fe29845c86a91e78ee02b3d4
MD5 cbdfb4c0c7b658968560473d06ae22d8
BLAKE2b-256 f52ce0e9a7dfd7d559e4338f166a60fcd01e180e678d9bf0dd433097f4936d61

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for hetgpy-1.0.4-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 b304f0010c2ff44e2f2daf379e0b26d179c1167c12a194429baf1d2daee9e1e5
MD5 11835744496c8da98737698914861a9c
BLAKE2b-256 43ee51279182c9f6b78e0cadda6109cd15353d1e9721573f5d2def645cfed9d8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for hetgpy-1.0.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 84dc427e213422bd354c3e9f4cf77dce4d8be34b1614e0ae2885062f30862c9d
MD5 49506541590b37cefc8a5d2e77b5600e
BLAKE2b-256 f7ff1435eb9820ca92d57fe8d0c04492c136afc216e753112d7e2406260dbd15

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for hetgpy-1.0.4-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2cfa7133e9cae81ffcb1e6ccf5087485d1dcb5a6d8cf1aafa20c9795bb86b616
MD5 5678aa937b7c06700d0e86266d6bb57e
BLAKE2b-256 047974a1dd2e10b318bdb9729212bae793da917c8f313ab70585d892118213f8

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: hetgpy-1.0.4-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.1.0 CPython/3.12.9

File hashes

Hashes for hetgpy-1.0.4-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 429251dad42a5a36bf3d337b87db10dfe06d8b9e842eb1687e3a30bd9537c131
MD5 ed863cfe4b968299b360949a2d1a18b9
BLAKE2b-256 6e02b8d0a8431e8351ba4af7e6273f75b91e50e746804f5d01f14fd947fc5790

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for hetgpy-1.0.4-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 bae335d049d2621a63b2bcb4bbabc9772bb024a5b7420fafdd37cd31d4ff012a
MD5 bc2f103250a0fafa0a60ca6ac5e824ff
BLAKE2b-256 b2ed7c96d9937a80957c0d02ad021dfc4de64c1625903ac6d8ae8c2d21339531

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for hetgpy-1.0.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4d39753393c3ffe973a8dbd10b145299dddde3603b88de7b32fd28dc57778799
MD5 bf983f8daf0776731b6d26db17d713fe
BLAKE2b-256 6e57c98489b88f95171f4aba85eab91162bf794c5cc32f21c5d23b0000b59c76

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for hetgpy-1.0.4-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2e0ee60a81b407191a3c9c5014c1aba385ab7c8339d36704198a0fa5df317a9d
MD5 d14d9239afd38930486569c24edb65f0
BLAKE2b-256 a7d1242ae1f257a859862f12e20d1d75dc8edaeb938f9ae0ffc9f27b0f5dd8db

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: hetgpy-1.0.4-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.1.0 CPython/3.12.9

File hashes

Hashes for hetgpy-1.0.4-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 98183cda9bd4810769e0c2eb489df6eea0995d76dc490541cc440899ddd80dfb
MD5 ae7bb414df41718bad5b5160f11aff75
BLAKE2b-256 51314a3f96ef985777271705ef964d8580ab733e6a2035cc1c5a554f79512d88

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for hetgpy-1.0.4-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d89e2aa8909225d27a92e3d89cc47fd2d42682f849ced6103b7d6aae09fcd943
MD5 596365be8d69fd7b417a6e9a983807a6
BLAKE2b-256 c6386410a810a69e7f3de2688b8aba74d500a1ec654a9b5da6015ae134ac086e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for hetgpy-1.0.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 07f6c367374811e268e6935f798568ae6bbd1f026582bc5e2d14a006c51d5e35
MD5 00d5d4d5178044a5f5b9e004da1a6916
BLAKE2b-256 d3d6eb4986f3745f61d50aa1b68344a0098b42d18d1b1ce58c94658e3d22de1e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for hetgpy-1.0.4-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 246ce7557112f8593694c1284c80fbc3b005a3a1070195af2a3d88df81050ac2
MD5 4a4cefd7d6e2778b959774b10257d6fe
BLAKE2b-256 ac47bfccbcafa2d6a3af6018047eeddd571252948d7275b5167b848f35647e67

See more details on using hashes here.

Provenance

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