Skip to content

Commit 464e7cd

Browse files
authored
Merge pull request #4 from mingdeyu/new-feature-branch
Function and documentation improvements
2 parents fdf6ef3 + 9d4e7c8 commit 464e7cd

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+9827
-3197
lines changed

.Rbuildignore

+5
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,9 @@
1111
^RESEARCH-NOTICE\.md$
1212
^vignettes/images
1313
^vignettes/motorcycle.Rmd$
14+
^vignettes/classification.Rmd$
15+
^vignettes/large_scale_emulation.Rmd$
16+
^vignettes/linked_DGP.Rmd$
17+
^vignettes/seq_design.Rmd$
18+
^vignettes/seq_design_2.Rmd$
1419
^LICENSE\.md$

DESCRIPTION

+3-2
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,16 @@ Imports:
3232
lhs,
3333
methods,
3434
stats,
35-
bitops,
3635
clhs,
3736
dplyr,
3837
uuid,
3938
tidyr,
4039
rlang,
4140
lifecycle,
4241
magrittr,
43-
visNetwork
42+
visNetwork,
43+
parallel,
44+
kableExtra
4445
Suggests:
4546
knitr,
4647
rmarkdown,

NAMESPACE

+2-8
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ S3method(draw,gp)
1212
S3method(mice,bundle)
1313
S3method(mice,dgp)
1414
S3method(mice,gp)
15-
S3method(pei,bundle)
16-
S3method(pei,dgp)
17-
S3method(pei,gp)
1815
S3method(plot,dgp)
1916
S3method(plot,gp)
2017
S3method(plot,lgp)
@@ -32,26 +29,23 @@ S3method(validate,lgp)
3229
S3method(vigf,bundle)
3330
S3method(vigf,dgp)
3431
S3method(vigf,gp)
35-
export(Hetero)
36-
export(NegBin)
37-
export(Poisson)
3832
export(alm)
3933
export(combine)
4034
export(continue)
35+
export(deserialize)
4136
export(design)
4237
export(dgp)
4338
export(draw)
4439
export(get_thread_num)
4540
export(gp)
4641
export(init_py)
47-
export(kernel)
4842
export(lgp)
4943
export(mice)
5044
export(nllik)
5145
export(pack)
52-
export(pei)
5346
export(prune)
5447
export(read)
48+
export(serialize)
5549
export(set_id)
5650
export(set_imp)
5751
export(set_linked_idx)

NEWS.md

+17-4
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,25 @@
1111
- An issue related to the `LD_LIBRARY` environment variable on Linux systems has been resolved via the `init_py()` function.
1212
- The `lgp()` function has been enhanced to accept connection information among emulators in the form of a data frame, streamlining linked emulation setup.
1313
- A new function, `set_id()`, allows users to assign unique IDs to emulators.
14-
- The `plot()` function has been updated to generate validation plots for DGP classifiers (i.e., DGP emulators with categorical likelihoods).
15-
- The `summary()` function has been redesigned to provide visualizations of structure and model specifications for (D)GP and linked (D)GP emulators.
14+
- The `predict()` function has been updated to accommodate predictions from DGP classifiers.
15+
- The `plot()` function has been updated to generate validation plots for DGP classifiers (i.e., DGP emulators with categorical likelihoods) and linked emulators created by `lgp()` using the new data frame form for `struc`.
16+
- The `summary()` function has been redesigned to provide both summary tables and visualizations of structure and model specifications for (D)GP and linked (D)GP emulators.
1617
- A `sample_size` argument has been added to the `validate()` and `plot()` functions, allowing users to adjust the number of samples used for validation when the validation method is set to `sampling`.
17-
- The following functions are deprecated as of this version and will be removed in the next release: `combine()`, `set_linked_idx()`, `kernel()`, `Poisson()`, `Hetero()`, and `NegBin()`. These functions are no longer maintained. Please refer to the updated package documentation for alternative workflows.
18-
- The basic node functions `kernel()`, `Hetero()`, `Poisson()`, and `NegBin()`, along with the `struc` argument in the `gp()` and `dgp()` functions, have been deprecated as of this version and will be removed in the next release. Customization of (D)GP specifications can be achieved by modifying the other arguments in `gp()` and `dgp()`.
18+
- `combine()` and `set_linked_idx()` are deprecated as of this version and will be removed in the next release. These two functions are no longer maintained. Please refer to the updated package documentation for alternative workflows.
19+
- The basic node functions `kernel()`, `Hetero()`, `Poisson()`, and `NegBin()`, along with the `struc` argument in the `gp()` and `dgp()` functions, have been removed as of this version. Customization of (D)GP specifications can be achieved by modifying the other arguments in `gp()` and `dgp()`.
20+
- The `draw()` function has been updated for instances of the `bundle` class to allow drawing of design and evaluation plots of all emulators in a single figure.
21+
- The `plot()` function has been updated for linked emulators generated by `lgp()` using the new data frame form for `struc`.
22+
- The `design()` function has been redesigned to allow new specifications of the user-supplied `method` function.
23+
- The `batch_size` argument has been added to `design()` to enable locating multiple design points in a single iteration of the sequential design. This argument is compatible with all built-in `method` functions: `alm()`, `mice()`, and `vigf()`.
24+
- The `alm()` and `vigf()` functions have been redesigned to support continuous search for the next design point or search from a discrete candidate set passed through the `x_cand` argument.
25+
- The `alm()`, `mice()`, and `vigf()` functions have been updated to output the locations of identified design points when a discrete candidate set is not supplied.
26+
- The `pei()` function has been removed from the package for re-engineering and will be added back in a future version.
27+
- The default of the `refit` argument in the `update()` function has been changed from `FALSE` to `TRUE`.
28+
- The `write()` function now allows `light = TRUE` for both GP emulators and bundles of GP emulators.
29+
- Two new functions, `serialize()` and `deserialize()`, have been added to allow users to export emulators to multi-session workers for parallel processing.
1930
- Additional vignettes are available, showcasing large-scale DGP emulation and DGP classification.
31+
- Enhanced clarity and consistency across the documentation.
32+
- Improved examples and explanations in vignettes for better user guidance.
2033

2134
# dgpsi 2.4.0
2235
- One can now use `design()` to implement sequential designs using `f` and a fixed candidate set passed to `x_cand` with `y_cand = NULL`.

0 commit comments

Comments
 (0)