| constructEvalSetting | R Documentation |
Create a SMOOF function for parameter configuration of mosmafs, with parameter set.
The resulting function takes a list of values according to its getParamSet().
Additionally the list can contain an $INSTANCE, an integer between 1 and 1000.
If it is not given, the instance will be chosen randomly. It corresponds to the
resampling instance to use if fixed.ri is TRUE.
constructEvalSetting(
task,
learner,
ps,
measure = getDefaultMeasure(task),
worst.measure = NULL,
cpo = NULLCPO,
nfeat = getTaskNFeats(task %>>% cpo),
evals = 1e+05,
outer.resampling = makeResampleDesc("CV", iters = 10, stratify = TRUE),
savedir = NULL
)
task |
|
learner |
|
ps |
|
measure |
|
worst.measure |
|
cpo |
|
nfeat |
|
evals |
|
outer.resampling |
outer resampling to use. |
savedir |
|
function a smoof function.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.