getObjf | R Documentation |
mlrTools
This function receives a configuration for a tuning experiment,
and returns an objective function to be tuned via SPOT.
It basically provides the result from a call to resample
:
resample(lrn, task, resample, measures = measures, show.info = FALSE)
,
with measures defined as mmce
for classification and rmse
for regression, timeboth
, timetrain
, and
timepredict
.
getObjf(config, timeout = 3600)
config |
list |
timeout |
integer, time in seconds after which a model (learner) evaluation will be aborted. |
Parameter names are set, parameters are transformed to the actual parameter scale, integer levels are converted to factor levels for categorical parameters, and parameters are set in relation to other parameters.
an objective function that can be optimized via spot
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.