This function performs the maximization step in the EAM
algorithm. More specifically, it maximizes the expected improvement.
ToDo: implement sample space contractions (see comment made in documentation
of draw.sv.init
).
M_step(
dir,
evaluations,
theta.hash,
fit.krige,
test.fun,
c,
par.space,
hyperparams,
verbose
)
Direction to search in. dir = 1
corresponds to finding the
upper bound of the confidence interval. dir = -1
corresponds to
finding the lower bound.
Matrix containing each point that was already evaluated, alongside the corresponding test statistic and critical value, as its rows.
Tentative best value of theta. Obtained from the E-step.
Kriging model obtained from the A-step.
The test function to be inverted in order to obtain the identified set.
Projection vector.
Bounds of the parameter space.
Parameters used in obtaining initial values
for the maximization algorithm. If NULL
, default values are used.
Default is hyperparams = NULL
.
Verbosity parameter.