Skip to content

Commit

Permalink
update to v2.5.0
Browse files Browse the repository at this point in the history
update to v2.5.0
  • Loading branch information
mingdeyu committed Dec 14, 2024
1 parent 876c7bc commit e214c25
Show file tree
Hide file tree
Showing 38 changed files with 48 additions and 47 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: dgpsi
Type: Package
Title: Interface to 'dgpsi' for Deep and Linked Gaussian Process Emulations
Version: 2.4.0-9000
Version: 2.5.0
Authors@R: c(
person('Deyu', 'Ming', role = c('aut', 'cre', 'cph'),
email = 'deyu.ming.16@ucl.ac.uk'),
Expand All @@ -13,7 +13,7 @@ Description: Interface to the 'python' package 'dgpsi' for Gaussian process, dee
and linked deep Gaussian process emulations of computer models and networks using stochastic imputation (SI).
The implementations follow Ming & Guillas (2021) <doi:10.1137/20M1323771> and
Ming, Williamson, & Guillas (2023) <doi:10.1080/00401706.2022.2124311> and
Ming & Williamson (2023) <arXiv:2306.01212>. To get started with the package,
Ming & Williamson (2023) <doi:10.48550/arXiv.2306.01212>. To get started with the package,
see <https://mingdeyu.github.io/dgpsi-R/>.
License: MIT + file LICENSE
URL: https://github.com/mingdeyu/dgpsi-R, https://mingdeyu.github.io/dgpsi-R/
Expand Down
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# dgpsi 2.4.0-9000 (development version)
# dgpsi 2.5.0
- Training times for DGP emulators are now approximately 30%-40% faster.
- The computation of (D)GP predictions and Leave-One-Out (LOO) evaluations is now 6-7 times faster.
- The `nb_parallel` argument has been removed from relevant functions, as multi-threading is now integrated by default.
Expand Down
12 changes: 6 additions & 6 deletions R/initi_py.R
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ init_py <- function(py_ver = NULL, dgpsi_ver = NULL, reinstall = FALSE, uninstal
if ( is.null(py_ver) ) py_ver <- '3.9.13'
if ( is.null(dgpsi_ver) ) {
##For devel version
dgpsi_ver <- c('cython>=0.29.30', 'dill>=0.3.2, <=0.3.5.1', 'jupyter>=1.0.0', 'matplotlib-base>=3.2.1', 'numba >=0.51.2',
'numpy >=1.18.2', 'pathos ==0.2.9', 'multiprocess ==0.70.13', 'psutil >=5.8.0', 'pybind11 >=2.10.0', 'pythran >=0.11.0',
'scikit-build >=0.15.0', 'scikit-learn >=0.22.0', 'scipy >=1.4.1', 'tqdm >=4.50.2', 'tabulate >=0.8.7', 'faiss-cpu >=1.7.4')
env_name <- 'dgp_si_R_2_4_0_9000'
#dgpsi_ver <- c('cython>=0.29.30', 'dill>=0.3.2, <=0.3.5.1', 'jupyter>=1.0.0', 'matplotlib-base>=3.2.1', 'numba >=0.51.2',
# 'numpy >=1.18.2', 'pathos ==0.2.9', 'multiprocess ==0.70.13', 'psutil >=5.8.0', 'pybind11 >=2.10.0', 'pythran >=0.11.0',
# 'scikit-build >=0.15.0', 'scikit-learn >=0.22.0', 'scipy >=1.4.1', 'tqdm >=4.50.2', 'tabulate >=0.8.7', 'faiss-cpu >=1.7.4')
#env_name <- 'dgp_si_R_2_4_0_9000'
##For release version
#dgpsi_ver <- 'dgpsi==2.4.0'
#env_name <- 'dgp_si_R_2_4_0'
dgpsi_ver <- 'dgpsi==2.5.0'
env_name <- 'dgp_si_R_2_5_0'
} else {
env_name <- paste('dgp_si_R_', gsub(".", "_", dgpsi_ver,fixed=TRUE), sep = "")
dgpsi_ver <- paste('dgpsi==', dgpsi_ver, sep = "")
Expand Down
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[![Download](https://cranlogs.r-pkg.org/badges/grand-total/dgpsi?color=brightgreen)](https://CRAN.R-project.org/package=dgpsi)
[![R-CMD-check](https://github.com/mingdeyu/dgpsi_R/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/mingdeyu/dgpsi-R/actions/workflows/R-CMD-check.yaml)
[![DOC](https://img.shields.io/badge/DOC-release-brightgreen)](https://mingdeyu.github.io/dgpsi-R/)
[![python](https://img.shields.io/badge/Python-dgpsi%20v2.4.0-informational)](https://github.com/mingdeyu/DGP)
[![python](https://img.shields.io/badge/Python-dgpsi%20v2.5.0-informational)](https://github.com/mingdeyu/DGP)
<!-- badges: end -->

The R package `dgpsi` provides R interface to Python package [`dgpsi`](https://github.com/mingdeyu/DGP) for deep and linked Gaussian process emulations using stochastic imputation (SI).
Expand All @@ -29,8 +29,9 @@ The R package `dgpsi` provides R interface to Python package [`dgpsi`](https://g
* Multi-core predictions and validations for GP, DGP, and Linked (D)GP emulators.
* Sequential designs for (D)GP emulators and bundles of (D)GP emulators.
* Automatic pruning of DGP emulators, both statically and dynamically.
* [![Feature Badge](https://img.shields.io/badge/New-In%20Dev%20Version-orange)](https://mingdeyu.github.io/dgpsi-R/dev/) [Large-scale GP, DGP, and Linked (D)GP emulations](https://mingdeyu.github.io/dgpsi-R/dev/articles/large_scale_emulation.html).
* [![Feature Badge](https://img.shields.io/badge/New-In%20Dev%20Version-orange)](https://mingdeyu.github.io/dgpsi-R/dev/) [Scalable DGP classification using Stochastic Imputation](https://mingdeyu.github.io/dgpsi-R/dev/articles/classification.html).
* [![Feature Badge](https://img.shields.io/badge/New-In%20v2.5.0-orange)](https://mingdeyu.github.io/dgpsi-R/) [Large-scale GP, DGP, and Linked (D)GP emulations](https://mingdeyu.github.io/dgpsi-R/articles/large_scale_emulation.html).
* [![Feature Badge](https://img.shields.io/badge/New-In%20v2.5.0-orange)](https://mingdeyu.github.io/dgpsi-R/) [Scalable DGP classification using Stochastic Imputation](https://mingdeyu.github.io/dgpsi-R/articles/classification.html).
* [![Feature Badge](https://img.shields.io/badge/New-In%20v2.5.0-orange)](https://mingdeyu.github.io/dgpsi-R/) [Bayesian optimization](https://mingdeyu.github.io/dgpsi-R/articles/bayes_opt.html).

## Getting started
* Check [A Quick Guide to dgpsi](https://mingdeyu.github.io/dgpsi-R/articles/dgpsi.html) to get started with the package.
Expand All @@ -55,7 +56,7 @@ After the installation, run
library(dgpsi)
```

to load the package. To install or activate the required Python environment automatically, simply run a function from the package. That's it, the package is now ready to use!
to load the package. To install or activate the required Python environment automatically, you can either run `dgpsi::init_py()` explicitly or simply call any function from the package. That's it - the package is ready to use!

> **Note**
> After loading `dgpsi`, the package may take some time to compile and initiate the underlying Python environment the first
Expand Down
2 changes: 1 addition & 1 deletion man/alm.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/combine.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/continue.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/deserialize.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/design.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/dgp.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/dgpsi-package.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/draw.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/get_thread_num.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/gp.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/init_py.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/lgp.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/mice.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/nllik.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/pack.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/plot.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/predict.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/prune.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/read.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/serialize.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/set_id.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/set_imp.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/set_linked_idx.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/set_seed.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/set_thread_num.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/set_vecchia.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/summary.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/trace_plot.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/unpack.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/update.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/validate.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/vigf.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/window.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/write.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e214c25

Please sign in to comment.