runTaskMlr | R Documentation |
Run task with a specified learner from mlr and produce predictions. By default, the evaluation measure contained in the task is used.
runTaskMlr( task, learner, measures = NULL, verbosity = NULL, seed = 1, scimark.vector = NULL, models = TRUE, ... )
task |
[ |
learner |
[ |
measures |
[ |
verbosity |
[ |
seed |
[ |
scimark.vector |
[ |
models |
[ |
... |
[any] |
[list
] Named list with the following components:
The OMLRun
object.
Benchmark result returned by benchmark
.
The generated OMLFlow
object.
getOMLTask
, makeLearner
# \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" # }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.