Deep and Linked Gaussian Process Emulations using Stochastic Imputation
Project description
dgpsi
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:
- 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 including Poisson, Negative-Binomial, and heteroskedastic Gaussian;
- 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, PEI, and VIGF sequential design criterions.
Installation
dgpsi
currently requires Python version 3.7, 3.8, or 3.9. 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, and some tutorials will be soon added there.
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. The
dgp
class in the package is default to this structure.
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file dgpsi-2.4.0.tar.gz
.
File metadata
- Download URL: dgpsi-2.4.0.tar.gz
- Upload date:
- Size: 42.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71685aa43244db67578280787e1d651ab07164baa99743dd5f9c7fbc8671e4ca |
|
MD5 | 3b63fa4ad9334d9700a228ed4d16ade8 |
|
BLAKE2b-256 | 360ee3dbce1a5a4441408f44b032f6bc21055b5c410baf306d662fcbb55705b2 |
File details
Details for the file dgpsi-2.4.0-py3-none-any.whl
.
File metadata
- Download URL: dgpsi-2.4.0-py3-none-any.whl
- Upload date:
- Size: 45.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6766905b2b947ee8616277df06a4a69c12df806836e5caa72e792fbe33277519 |
|
MD5 | cf40378e233db70de872000320183594 |
|
BLAKE2b-256 | 27981a75e943b34961719361256b304afc0fef8c12999075fa690e2bf9f9550f |