runTaskMlr {OpenML} | R Documentation |
Run mlr learner on OpenML task.
Description
Run task with a specified learner from mlr and produce predictions. By default, the evaluation measure contained in the task is used.
Usage
runTaskMlr(
task,
learner,
measures = NULL,
verbosity = NULL,
seed = 1,
scimark.vector = NULL,
models = TRUE,
...
)
Arguments
task |
[ |
learner |
[ |
measures |
[ |
verbosity |
[ |
seed |
[ |
scimark.vector |
[ |
models |
[ |
... |
[any] |
Value
[list
] Named list with the following components:
See Also
Examples
# \dontrun{
# library(mlr)
# ## run a single flow (learner) on a single task
# task = getOMLTask(57)
# lrn = makeLearner("classif.rpart")
# res = runTaskMlr(task, lrn)
# ## the result "res" is a list, storing information on the actual "run", the
# ## corresponding benchmark result "bmr" and the applied "flow"
# }