useMlrTuningWrapper: Insert mlr tuning object into benchmarkVis application

Description Usage Arguments Value Examples

Description

Create a data table useable with the benchmarkVis application out of an mlr tuning object. All important imformation will be exluded from the input object and transformed into a appropriate data table

Usage

1

Arguments

res

a mlr tuning result object

Value

a data table with the benchmarkVis specific structure

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
library(mlr)
num.ps = makeParamSet(
 makeNumericParam("C", lower = -10, upper = 10, trafo = function(x) 10 ^ x),
 makeNumericParam("sigma", lower = -10, upper = 10, trafo = function(x) 10 ^ x)
)
ctrl = makeTuneControlRandom(maxit = 100L)
rdesc = makeResampleDesc("CV", iters = 3L)
res = tuneParams("classif.ksvm", task = iris.task, resampling = rdesc, par.set = num.ps, control = ctrl,
 measures = list(acc, setAggregation(acc, test.sd)), show.info = FALSE)
dt = useMlrTuningWrapper(res)

collinleiber/benchmarkVis documentation built on May 28, 2019, 8:23 a.m.