updateGP: Update Gaussian Processes in a bayesOpt Object
Description
To save time, Gaussian processes are not updated after the last iteration
in addIterations(). The user can do this manually, using this function
if they wish.
Usage
updateGP(optObj, bounds = optObj$bounds, verbose = 1)
Arguments
optObj
an object of class bayesOpt
bounds
The bounds to scale the parameters within.
verbose
Should the user be warned if the GP is already up to date?
Value
a bayesOpt object with updated Gaussian Processes.