Class for fast to compute objective.
# S4 method for fastfun
predict(object, newdata, ...)# S4 method for fastfun
update(object, newX, newy, ...)
# S4 method for fastfun
simulate(object, nsim, seed, newdata, cond, nugget.sim, checkNames, ...)
fastfun
object
an optional vector, matrix or data frame containing the points where to perform predictions.
Default is NULL
: simulation is performed at design points specified in object
.
further arguments (not used)
Matrix of the new location for the design
Matrix of the responses at newX
an optional number specifying the number of response vectors to simulate. Default is 1.
usual seed argument of method simulate. Not used.
an optional boolean indicating the type of simulations. Not used.
an optional number corresponding to a numerical nugget effect. Not used.
an optional boolean. Not used.
predict(fastfun)
: Predict(by evaluating fun
) the result at a new observation.
update(fastfun)
: Update the X
and y
slots with a new design and observation.
simulate(fastfun)
: Simulate responses values (for compatibility with methods using [DiceKriging::simulate()])
d
spatial dimension,
n
observations number,
X
the design of experiments, size n x d
,
y
the observations, size n x 1
,
fun
the evaluator function.
To create a fastfun
object, use fastfun
. See also this function for more details and examples.