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 is designed to be a "pure" Python implementation of hetGP, with the goals of:
- Matching the behavior of the
Rpackage - Having minimal dependencies (i.e.
numpyandscipy)
The motivation for such a package is due to the rising popularity of implementing simulation models (also known as computer experiments) in Python.
Installing and Environments
pypi
hetGPyis 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:
- Clone the repository. Make sure to include
--recurve-submodulesif you do not already haveEigeninstalled on your system:
git clone --recurse-submodules https://github.com/davidogara/hetGPy.git
- With
hetGPyas 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
-
hetGPyrequiresscipy>=1.14.0which fixed a memory leakage issue when usingL-BFGS-Binscipy.optimize.minizmize. That version of scipy requires Python 3.10. -
Since
hetGPyis 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. -
hetGPyalso requires a c++17 compiler andEigenfor 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
File details
Details for the file hetgpy-0.1.post1.tar.gz.
File metadata
- Download URL: hetgpy-0.1.post1.tar.gz
- Upload date:
- Size: 3.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3bb072a5012b5c9d2cff6b3688d1e0496a27a7c5d66adab8c1fde0075148ba53
|
|
| MD5 |
13251ee2f2374c39394d1281bbda95ad
|
|
| BLAKE2b-256 |
de79f6c091e48a697ca6742b09c730b02d3971081f3d3789a8b62496cf8d4e74
|