
The R packagedgpsi provides R interface to Pythonpackagedgpsifor deep and linked Gaussian process emulations using stochasticimputation (SI).
Hassle-free Python Setup
You don’t need prior knowledge of Python to start using the package, allyou need is a single click in R (seeInstallation section below) that automaticallyinstalls and activates the required Python environment for you!
dgpsi currently has following features:
You can install the package from CRAN:
install.packages('dgpsi')or its development version from GitHub:
devtools::install_github('mingdeyu/dgpsi-R')After the installation, run
library(dgpsi)to load the package. To install or activate the required Pythonenvironment automatically, you can either rundgpsi::init_py() explicitly or simply call any functionfrom the package. That’s it - the package is ready to use!
Note
After loadingdgpsi, the package may take some time tocompile and initiate the underlying Python environment the first time afunction fromdgpsiis executed. Any subsequent functioncalls won’t require re-compiling or re-activation of the Pythonenvironment, and will be faster.If you experience Python related issues while using the package,please try to reinstall the Python environment:
dgpsi::init_py(reinstall = T)Or uninstall completely the Python environment:
dgpsi::init_py(uninstall = T)and then reinstall:
dgpsi::init_py()
This package is part of an ongoing research initiative. For detailedinformation about the research aspects and guidelines for use, pleaserefer to ourResearchNotice.