Learn R Programming

TDMR (version 2.2)

defaultSC: Default settings for the spotConfig part of TDMR.

Description

Sets suitable defaults for the spotConfig part of TDMR.

Usage

defaultSC()

Arguments

Value

a list with the following elements (the values in parantheses [] are the defaults):

alg.roi

["NEEDS_TO_BE_SET"] a data frame with columns lower, upper, type, row.names, each a vector with as many entries as there are parameter to be tuned

opts

["NEEDS_TO_BE_SET"]

sCName

["NEEDS_TO_BE_SET.conf"] a string ending on ".conf", the configuration name

OCBA

[FALSE] see spotControl

plot

[FALSE] TRUE: make a line plot showing progress

seedSPOT

[1] see spotControl

funEvals

[50] the budget, max number of algo evaluations

design

[designLHD] function that creates initial design, see spotControl

designControl.size

[10] number of initial design points (former init.design.size)

designControl.replicates

[2] number of initial repeats (former init.design.repeats)

replicates

[2] number of repeats for the same model design point

noise

[TRUE] whether the object function has noise or not (Note: TRUE is required if replicates>1 (!))

seq.merge.func

[mean] how to merge Y over replicates: mean or min

model

[buildKriging] function that builds the surrogate model, see spotControl

optimizer

[optimLHD] function that optimizes on surrrogate, see spotControl

optimizerControl.funEvals

[100] optimizer budget (former seq.design.size)

optimizerControl.retries

[2] optimLHD retries (former seq.design.retries)

Details

With the call setParams(mySC,defaultSC()) it is possible to extend a partial list mySC to a list containing all sC-elements (the missing ones are taken from defaultSC()). If mySC has an element not present in defaultSC(), this element is not taken and a warning is issued. With setParams(mySC,defaultSC(),keepNotMatching=TRUE) also elements of mySC not present in defaultSC() are taken (no warnings).

See Also

setParams, defaultOpts