Reproduce results from randombot_v2. Work in progress!
You can install the released version from github using:
remotes::install_github("pfistfl/rbv2")
This is a basic example which shows you how to solve a common problem:
library(rbv2)
learner_id = "classif.svm"
task_id = 3
configuration = list(gamma = 0.1, cost = 10, sample.rate = .1)
eval_config(learner_id, task_id, configuration)
or using rbv2_style:
learner_id = "rbv2_super"
task_id = 3
configuration = list(svm.gamma = 0.1, svm.cost = 10, learner = "svm", trainsize = .1)
eval_rbv2(learner_id, task_id, configuration)