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

Uploaded CPython 3.12Windows x86-64

hetgpy-1.0.5-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.5-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.5-cp312-cp312-macosx_11_0_arm64.whl (1.3 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

hetgpy-1.0.5-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.5-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.5-cp311-cp311-macosx_11_0_arm64.whl (1.3 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

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

Uploaded CPython 3.10Windows x86-64

hetgpy-1.0.5-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.5-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.5-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.5.tar.gz.

File metadata

  • Download URL: hetgpy-1.0.5.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.5.tar.gz
Algorithm Hash digest
SHA256 8881b9e156f193c2042a6a0107f6015a7536e993f9f9f0476100eb8770e51a8a
MD5 ce1d1a7a04658a872b6bd69777209d0c
BLAKE2b-256 a44fa6e30c6cc81eae6fc15c36de98da461f2899ebfa51320b068e723ac0615b

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: hetgpy-1.0.5-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.5-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 b6cda0c71860f834b6e790615c99414b1610fdbebd0c94f279e4011434996cc9
MD5 71e0569ba986486fc2f762d1e10d3dab
BLAKE2b-256 0732fa6a3b320ca68f455470e4236cca4242c43abf6065533ddcfe2f33990c0f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for hetgpy-1.0.5-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 9db88a4148c621d874f889b985e88a793c10ceab55817ab35b92b1e99603de10
MD5 3c0c4f54dc6b76eecc74be30709bbf0b
BLAKE2b-256 cce588b76a64184a7a7209131063a996e7ee0ff1799bdce7523fbca67c962b2c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for hetgpy-1.0.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f49d43ba5bb2804ddb6166190a1d6d9183e94d75a89536f3b660668188100a82
MD5 b8e50309a6e1c852da3cefdbea0e6715
BLAKE2b-256 b26b237fdbc8374b9b462b8d991c4aeb82fa07b82d0bec21801d55ce0515ac9e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for hetgpy-1.0.5-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 40d23cfb36f5e37dfadf3249044de79137fc5acc8983da1f5767f5d904d7abe9
MD5 3067db24d328601e6223c46b918e7c6b
BLAKE2b-256 c25d1faeac9dc6e872711e354b47e14eddff448bdf2787354673ad7d104f29c4

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: hetgpy-1.0.5-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.5-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 438f3b6bfc4374de2b16307384cdb7ec4571f34d7601397c3ef97f28f62aed72
MD5 717eaead4705dd4651809f514885ba38
BLAKE2b-256 6cbe063ec5188287700e56966bd356c12e2f52734f72c5de2f7fddfbae79f77e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for hetgpy-1.0.5-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 05adffdd6907e2cebd40d7d90fba21c130947bfe5153485ab475d537f207740b
MD5 7b60ba09b30d79b61fbc8e96578d8aa7
BLAKE2b-256 fb854c970676c24e6ce88e90d618fe2b5506330d234f3dc9183997685a54eb02

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for hetgpy-1.0.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 eb9c0d7d6f705056670026cd0b59f94c39e8a02b9f650c693349638490baffcd
MD5 762c250da45d0b9efa54ee0726e3aebf
BLAKE2b-256 fbd57b0147ab1b354721aedb0325641411a9f6e90c58de92447897ade114315e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for hetgpy-1.0.5-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e831bbef25bfac3be7706618818720877239a4c2cc02d79b48ba730e8b073818
MD5 ad7d39593a8649557fbf4723e49b5f37
BLAKE2b-256 061539c9a63f958601e4e3b68f0e42689748d9cefbc112499430aa80b2b63f8e

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: hetgpy-1.0.5-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.5-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 ed91dcca3864031f79583a043ac842423d5be952ba897acc58f6658de69c0b89
MD5 501a61b81e09b668d05db842f18dbedf
BLAKE2b-256 e116c047f48e5b6cd287cd26e798930af8c19e8c95283d6d7c8ad8c36fc96656

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for hetgpy-1.0.5-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 8f583cba048f227bfba9885b16a56eb3f05b35d585ea9a534fe4aba73b7096b3
MD5 10108d58982377a118eb4f829ec2c1d0
BLAKE2b-256 59b7fde6b218227e76a97de6798cbf2b950eb493590af860227933d6daf81dde

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for hetgpy-1.0.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4aabebd81df05fc7237a1d83752e381aba4e84ab2d61b8947a8b1b4563b6dfbf
MD5 ecf94aa0375fd510c867eb170ca08abf
BLAKE2b-256 0068481063263c42ed2265f2214e8522303720cac9cff86e3a21fa0d8c028162

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for hetgpy-1.0.5-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 831951394d3bd6c560d78a1eb64e158cba6a39d9a08df2a460519ff458bbe069
MD5 8fb86de6c00e5e7d7623e423490ac59e
BLAKE2b-256 2e78f13b66fc162cce7a65ba4f674e64a05f27e56ceb89f395b636541bf529fc

See more details on using hashes here.

Provenance

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