This function implements additional training iterations for a DGP emulator.
Arguments
- object
an instance of the
dgp
class.- N
additional number of iterations for the DGP emulator training. If set to
NULL
, the number of iterations is set to500
if the DGP emulator was constructed without the Vecchia approximation, and is set to200
if Vecchia approximation was used. Defaults toNULL
.- cores
the number of processes to be used to optimize GP components (in the same layer) at each M-step of the training. If set to
NULL
, the number of processes is set to(max physical cores available - 1)
if the DGP emulator was constructed without the Vecchia approximation. Otherwise, the number of processes is set tomax physical cores available %/% 2
. Only use multiple processes when there is a large number of GP components in different layers and optimization of GP components is computationally expensive. Defaults to1
.- ess_burn
number of burnin steps for the ESS-within-Gibbs at each I-step of the training. Defaults to
10
.- verb
a bool indicating if the progress bar will be printed during the training:
FALSE
: the training progress bar will not be displayed.TRUE
: the training progress bar will be displayed.
Defaults to
TRUE
.- burnin
the number of training iterations to be discarded for point estimates calculation. Must be smaller than the overall training iterations so-far implemented. If this is not specified, only the last 25% of iterations are used. This overrides the value of
burnin
set indgp()
. Defaults toNULL
.- B
the number of imputations to produce the predictions. Increase the value to account for more imputation uncertainties. This overrides the value of
B
set indgp()
ifB
is notNULL
. Defaults toNULL
.
Details
See further examples and tutorials at https://mingdeyu.github.io/dgpsi-R/.
Note
One can also use this function to fit an untrained DGP emulator constructed by
dgp()
withtraining = FALSE
.The following slots:
loo
andoos
created byvalidate()
; andresults
created bypredict()
inobject
will be removed and not contained in the returned object.