You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: NEWS.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,7 @@
17
17
- The `check_point` argument is removed from `design()` and replaced by `autosave`.
18
18
- Automatic saving of emulators during the sequential design is added to `design()` through the new argument `autosave`.
19
19
- When a customized evaluation function is provided to `design()` via `eval`, the design information in previous waves will be retained as long as the previous waves of the sequential design also use customized evaluation functions. If different customized evaluation functions are supplied to `design()` in different waves, the trace plot of RMSEs produced by `draw()` will show RMSEs from different evaluation functions in different waves.
20
+
- One can now link the same emulator multiple times in a chain via `lgp()` by setting different linking information for the emulator via `set_linked_idx()`.
Copy file name to clipboardExpand all lines: R/dgp.R
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -110,9 +110,11 @@
110
110
#' generated by the linked emulators in the preceding layers. Defaults to `NULL`. This argument is only used when `struc = NULL`.
111
111
#' @param linked_idx either a vector or a list of vectors:
112
112
#' * If `linked_idx` is a vector, it gives indices of columns in the pooled output matrix (formed by column-combined outputs of all
113
-
#' emulators in the feeding layer) that feed into the DGP emulator. If the DGP emulator is in the first layer of a linked emulator system,
114
-
#' the vector gives the column indices of the global input (formed by column-combining all input matrices of emulators in the first layer)
115
-
#' that the DGP emulator will use. The length of the vector shall equal to the length of `internal_input_idx` when `internal_input_idx` is not `NULL`.
113
+
#' emulators in the feeding layer) that feed into the DGP emulator. The length of the vector shall equal to the length of `internal_input_idx`
114
+
#' when `internal_input_idx` is not `NULL`. If the DGP emulator is in the first layer of a linked emulator system, the vector gives the column indices of the global
115
+
#' input (formed by column-combining all input matrices of emulators in the first layer) that the DGP emulator will use. If the DGP emulator is to be used in both the first
116
+
#' and subsequent layers, one should initially set `linked_idx` to the appropriate values for the situation where the emulator is not in the first layer. Then, use the
117
+
#' function [set_linked_idx()] to reset the linking information when the emulator is in the first layer.
116
118
#' * When the DGP emulator is not in the first layer of a linked emulator system, `linked_idx` can be a list that gives the information on connections
117
119
#' between the DGP emulator and emulators in all preceding layers. The length of the list should equal to the number of layers before
118
120
#' the DGP emulator. Each element of the list is a vector that gives indices of columns in the pooled output matrix (formed by column-combined outputs
Copy file name to clipboardExpand all lines: R/gp.R
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -47,9 +47,11 @@
47
47
#' generated by the linked emulators in the preceding layers. Defaults to `NULL`. This argument is only used when `struc = NULL`.
48
48
#' @param linked_idx either a vector or a list of vectors:
49
49
#' * If `linked_idx` is a vector, it gives indices of columns in the pooled output matrix (formed by column-combined outputs of all
50
-
#' emulators in the feeding layer) that feed into the GP emulator. If the GP emulator is in the first layer of a linked emulator system,
51
-
#' the vector gives the column indices of the global input (formed by column-combining all input matrices of emulators in the first layer)
52
-
#' that the GP emulator will use. The length of the vector shall equal to the length of `internal_input_idx` when `internal_input_idx` is not `NULL`.
50
+
#' emulators in the feeding layer) that feed into the GP emulator. The length of the vector shall equal to the length of `internal_input_idx` when `internal_input_idx`
51
+
#' is not `NULL`. If the GP emulator is in the first layer of a linked emulator system, the vector gives the column indices of the global
52
+
#' input (formed by column-combining all input matrices of emulators in the first layer) that the GP emulator will use. If the GP emulator is to be used in both the first
53
+
#' and subsequent layers, one should initially set `linked_idx` to the appropriate values for the situation where the emulator is not in the first layer. Then, use the
54
+
#' function [set_linked_idx()] to reset the linking information when the emulator is in the first layer.
53
55
#' * When the GP emulator is not in the first layer of a linked emulator system, `linked_idx` can be a list that gives the information on connections
54
56
#' between the GP emulator and emulators in all preceding layers. The length of the list should equal to the number of layers before
55
57
#' the GP emulator. Each element of the list is a vector that gives indices of columns in the pooled output matrix (formed by column-combined outputs
0 commit comments