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)
an objective function that can be optimized via spot
.
list
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.