Main function to run the bot. This evaluates batch.size configurations. Task, learner and the actual configuration are defined by the corresponding functions.
1 2 3 4 5 6 | runBot(batch.size, sample.learner.fun = sampleRandomLearner,
sample.task.fun = sampleSimpleTask,
sample.configuration.fun = sampleRandomConfiguration,
min.resources = NULL, max.resources = NULL,
lrn.ps.sets = simple.lrn.par.set, upload = FALSE, path = NA,
extra.tag = "botV1")
|
batch.size |
number of configurations to evaluate in parallel |
sample.learner.fun |
function to sample a learner from tunePair |
sample.task.fun |
sample a OML task |
min.resources |
minimal resources to start benchmark (list with elements walltime and memory) |
max.resources |
maximum resources allowed for each evaluation (list with elements walltime and memory) |
lrn.ps.sets |
of available learners with matching parameter sets |
upload |
should the run be uploaded to OpenML |
path |
where should the registry be created, defaults to tempdir() |
sample.configuration |
given a lrn sample a configuration |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.