Description Usage Arguments Value Examples
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
1 | useMlrTuningWrapper(res)
|
res |
a mlr tuning result object |
a data table with the benchmarkVis specific structure
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.