hetGPy: Heteroskedastic Gaussian Process Modeling in Python
Computer experiments are ubiquitous in the physical and social sciences.When experiments are time-consuming to run, emulator (or surrogate) models are often used to map the input-output response surface of the simulator, treating it as a black box.The workhorse function of emulator models is Gaussian process regression (GPR).GPs provide flexible, non-linear regression targets with good interpolation properties and uncertainty quantification.However, it is well-known that nave GPR scales cubically with input size, and specifically involves intensive computation of matrix determinants and solving linear systems when fitting hyperparameters (Garnett, 2023;Gramacy, 2020).Further, nave GPR with noisy observations typically assumes an independent, identically-distributed noise process, but many data-generating mechanisms, especially those found in stochastic computer simulation, exhibit non-equal variance noise (also known as heteroskedasticity) (Baker et al., 2020).The software package hetGP (Binois & Gramacy, 2021) alleviates both of these concerns when the dataset of interest contains multiple observations per location (i.e. a dataset of size has << unique input locations).The hetGP framework can calculate matrix inverses and determinants (and therefore the log likelihood and its gradients) on the order ( 3 ) rather than ( 3 ) time in the nave case (Binois et al., 2018).This is accomplished via multiple applications of the Woodbury matrix identity (Binois et al., 2018;Harville, 1997) and leveraging the replication structure.Further, hetGP also models the mean and noise processes as two coupled GPs, allowing smooth noise dynamics over parameter space (Binois et al.,
Authors
- David O’Gara (ORCID: https://orcid.org/0000-0002-1957-400X)
- Roman Garnett (ORCID: https://orcid.org/0000-0002-0152-5453)
- Ross A. Hammond (ORCID: https://orcid.org/0009-0005-1046-9296)
- Mickaël Binois (ORCID: https://orcid.org/0000-0002-7225-1680)
Institutions
- Brookings Institution (US)
- Santa Fe Institute (US)
- Institut national de recherche en sciences et technologies du numérique (FR)
- Université Côte d'Azur (FR)
- Washington University in St. Louis (US)
Publication Details
- Journal
- The Journal of Open Source Software
- Published
- 2025-02-05
- DOI
- https://doi.org/10.21105/joss.07518
- Citations
- 1
- Primary Topic
- Gaussian Processes and Bayesian Inference
- Type
- article
- Field-Weighted Citation Impact
- 2.48