Package: deepgp 1.2.1

Annie S. Booth

deepgp: Bayesian Deep Gaussian Processes using MCMC

Performs Bayesian posterior inference for deep Gaussian processes following Sauer, Gramacy, and Higdon (2023, <doi:10.48550/arXiv.2012.08015>). See Sauer (2023, <http://hdl.handle.net/10919/114845>) for comprehensive methodological details and <https://bitbucket.org/gramacylab/deepgp-ex/> for a variety of coding examples. Models are trained through MCMC including elliptical slice sampling of latent Gaussian layers and Metropolis-Hastings sampling of kernel hyperparameters. Gradient-enhancement and gradient predictions are offered following Booth (2025, <doi:10.48550/arXiv.2512.18066>). Vecchia approximation for faster computation is implemented following Sauer, Cooper, and Gramacy (2023, <doi:10.48550/arXiv.2204.02904>). Optional monotonic warpings are implemented following Barnett et al. (2025, <doi:10.48550/arXiv.2408.01540>). Downstream tasks include sequential design through active learning Cohn/integrated mean squared error (ALC/IMSE; Sauer, Gramacy, and Higdon, 2023), optimization through expected improvement (EI; Gramacy, Sauer, and Wycoff, 2022, <doi:10.48550/arXiv.2112.07457>), and contour location through entropy (Booth, Renganathan, and Gramacy, 2025, <doi:10.48550/arXiv.2308.04420>). Models extend up to three layers deep; a one layer model is equivalent to typical Gaussian process regression. Incorporates OpenMP and SNOW parallelization and utilizes C/C++ under the hood.

Authors:Annie S. Booth [aut, cre]

deepgp_1.2.1.tar.gz
deepgp_1.2.1.tar.gz(r-4.7-arm64)deepgp_1.2.1.tar.gz(r-4.7-x86_64)deepgp_1.2.1.tar.gz(r-4.6-arm64)deepgp_1.2.1.tar.gz(r-4.6-x86_64)
manual.pdf |manual.html
card.svg |card.png
deepgp/json (API)

# Install 'deepgp' in R:
install.packages('deepgp', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))
Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3
  • openmp– GCC OpenMP (GOMP) support library

On CRAN:

Conda:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

openblascppopenmp

3.48 score 1 stars 30 scripts 639 downloads 13 exports 19 dependencies

Last updated from:f05f99030d. Checks:5 OK, 1 FAIL. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK169
linux-devel-x86_64OK172
source / vignettesOK285
linux-release-arm64OK168
linux-release-x86_64OK186
wasm-releaseFAIL140

Exports:ALCcontinuecrpsfit_one_layerfit_three_layerfit_two_layerIMSEpost_samplermsescoresq_distto_vectrim

Dependencies:abindBHcodetoolsdoParalleldotCall64fieldsFNNforeachGpGpiteratorslatticemapsMatrixmvtnormRColorBrewerRcppRcppArmadillospamviridisLite

deepgp: an R-package for Bayesian Deep Gaussian Processes

Rendered fromdeepgp.Rmdusingknitr::rmarkdownon Jun 09 2026.

Last update: 2026-02-09
Started: 2022-12-15

Readme and manuals

Help Manual

Help pageTopics
Package deepgpdeepgp-package deepgp
Active Learning Cohn for Sequential DesignALC ALC.dgp2 ALC.dgp3 ALC.gp
Continues MCMC samplingcontinue continue.dgp2 continue.dgp2vec continue.dgp3 continue.dgp3vec continue.gp continue.gpvec
Calculates CRPScrps
MCMC sampling for one layer GPfit_one_layer
MCMC sampling for three layer deep GPfit_three_layer
MCMC sampling for two layer deep GPfit_two_layer
Integrated Mean-Squared (prediction) Error for Sequential DesignIMSE IMSE.dgp2 IMSE.dgp3 IMSE.gp
Plots object from 'deepgp' packageplot plot.dgp2 plot.dgp2vec plot.dgp3 plot.dgp3vec plot.gp plot.gpvec
Generates joint posterior samples from a trained GP/DGPpost_sample post_sample.dgp2 post_sample.dgp2vec post_sample.dgp3 post_sample.dgp3vec post_sample.gp post_sample.gpvec
Predict posterior mean and variance/covariancepredict predict.dgp2 predict.dgp2vec predict.dgp3 predict.dgp3vec predict.gp predict.gpvec
Calculates RMSErmse
Calculates scorescore
Calculates squared pairwise distancessq_dist
Converts non-Vecchia object to its Vecchia versionto_vec
Trim/Thin MCMC iterationstrim trim.dgp2 trim.dgp2vec trim.dgp3 trim.dgp3vec trim.gp trim.gpvec