checkFunEvalsDesignSize: Check funEvals Setting against designSize

View source: R/initialInputCheck.R

checkFunEvalsDesignSizeR Documentation

Check funEvals Setting against designSize

Description

Checks if the designSize will result in a larger value than funEvals. If so, return an error.

Usage

checkFunEvalsDesignSize(x, lower, control, inSpotLoop)

Arguments

x

is an optional start point (or set of start points), specified as a matrix. One row for each point, and one column for each optimized parameter.

lower

is a vector that defines the lower boundary of search space. This determines also the dimensionality of the problem.

inSpotLoop

Boolean indicating whether the check is called from within spotLoop or not

fun

is the objective function. It should receive a matrix x and return a matrix y. In case the function uses external code and is noisy, an additional seed parameter may be used, see the control$seedFun argument below for details.

upper

is a vector that defines the upper boundary of search space.


SPOT documentation built on June 26, 2022, 1:06 a.m.