Skip to main content

dgpsi

GitHub release (latest by date including pre-releases) Conda Conda Read the Docs (version) GitHub R package version

For R users

The R interface to the package is available at dgpsi-R.

A Python package for deep and linked Gaussian process emulations using stochastic imputation (SI)

dgpsi currently implements:

  • Gaussian process emulations with separable or non-separable squared exponential and Matérn-2.5 kernels.
  • Deep Gaussian process emulation with flexible architecture construction:
    • multiple layers;
    • multiple GP nodes;
    • separable or non-separable squared exponential and Matérn2.5 kernels;
    • global input connections;
    • non-Gaussian likelihoods (Poisson, Negative-Binomial, heteroskedastic Gaussian, and categorical);
  • Linked emulation of feed-forward systems of computer models:
    • linking GP emulators of deterministic individual computer models;
    • linking GP and DGP emulators of deterministic individual computer models;
  • Multi-core predictions from GP, DGP, and Linked (D)GP emulators;
  • Fast Leave-One-Out (LOO) cross validations for GP and DGP emulators.
  • Calculations of ALM, MICE, and VIGF sequential design criterions.
  • Feature Badge Large-scale GP, DGP, and Linked (D)GP emulations.
  • Feature Badge Scalable DGP classification using Stochastic Imputation.

Installation

dgpsi currently requires Python version 3.7, 3.8, 3.9, or 3.10. The package can be installed via pip:

pip install dgpsi

or conda:

conda install -c conda-forge dgpsi

However, to gain the best performance of the package or you are using an Apple Silicon computer, we recommend the following steps for the installation:

  • Download and install Miniforge3 that is compatible to your system from here.
  • Run the following command in your terminal app to create a virtual environment called dgp_si:
conda create -n dgp_si python=3.9.13 
  • Activate and enter the virtual environment:
conda activate dgp_si
  • Install dgpsi:

    • for Apple Silicon users, you could gain speed-up by switching to Apple's Accelerate framework:
    conda install dgpsi "libblas=*=*accelerate"
    
    • for Intel users, you could gain speed-up by switching to MKL:
    conda install dgpsi "libblas=*=*mkl"
    
    • otherwise, simply run:
    conda install dgpsi
    

Demo and documentation

Please see demo for some illustrative examples of the method. The API reference of the package can be accessed from https://dgpsi.readthedocs.io.

Tips

  • Since SI is a stochastic inference, in case of unsatisfactory results, you may want to try to restart the training multiple times even with initial values of hyperparameters unchanged;
  • The recommended DGP structure is a two-layered one with the number of GP nodes in the first layer equal to the number of input dimensions (i.e., number of input columns) and the number of GP nodes in the second layer equal to the number of output dimensions (i.e., number of output columns) or the number of parameters in the specified likelihood.

Contact

Please feel free to email me with any questions and feedbacks:

Deyu Ming <deyu.ming.16@ucl.ac.uk>.

Research Notice

This package is part of an ongoing research initiative. For detailed information about the research aspects and guidelines for use, please refer to our Research Notice.

References

Ming, D. and Williamson, D. (2023) Linked deep Gaussian process emulation for model networks. arXiv:2306.01212.

Ming, D., Williamson, D., and Guillas, S. (2023) Deep Gaussian process emulation using stochastic imputation. Technometrics. 65(2), 150-161.

Ming, D. and Guillas, S. (2021) Linked Gaussian process emulation for systems of computer models using Matérn kernels and adaptive design, SIAM/ASA Journal on Uncertainty Quantification. 9(4), 1615-1642.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dgpsi-2.5.0.tar.gz (60.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dgpsi-2.5.0-py3-none-any.whl (62.7 kB view details)

Uploaded Python 3

File details

Details for the file dgpsi-2.5.0.tar.gz.

File metadata

  • Download URL: dgpsi-2.5.0.tar.gz
  • Upload date:
  • Size: 60.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.20

File hashes

Hashes for dgpsi-2.5.0.tar.gz
Algorithm Hash digest
SHA256 ff242d5a273739294e5dc6380b3733b2f5e8bfa58a726cc2a0c4bf385f8909e1
MD5 07122b41f60c1a00026a512ef0ba45bf
BLAKE2b-256 14855c85a47fc5a936517c378a2668e9dd77081a914c3b757ec40be576a8c719

See more details on using hashes here.

File details

Details for the file dgpsi-2.5.0-py3-none-any.whl.

File metadata

  • Download URL: dgpsi-2.5.0-py3-none-any.whl
  • Upload date:
  • Size: 62.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.20

File hashes

Hashes for dgpsi-2.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2f1f551f92123b25be430b68d1bd88858b12114cd98aa20cda4d00dbf8ec7829
MD5 96c865ed55eb8604794ca0e178cf5859
BLAKE2b-256 5c98aa042c472686730e188073aea549f9d5512af9c892c302f3b0a0e6e25ba9

See more details on using hashes here.

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