Generates plots for mlr3::BenchmarkResult.

# S3 method for BenchmarkResult
autoplot(object, measure = NULL, ...)

Arguments

object

(mlr3::BenchmarkResult).

measure

(mlr3::Measure).

...

(any): Currently ignored.

Value

ggplot2::ggplot() object.

Examples

library(mlr3) tasks = mlr_tasks$mget(c("iris", "pima", "sonar")) learner = mlr_learners$mget(c("classif.featureless", "classif.rpart")) resampling = mlr_resamplings$mget("cv") object = benchmark(benchmark_grid(tasks, learner, resampling)) head(fortify(object))
#> nr task_id learner_id resampling_id classif.ce #> 1: 1 iris classif.featureless cv 0.7333333 #> 2: 1 iris classif.featureless cv 0.8000000 #> 3: 1 iris classif.featureless cv 0.7333333 #> 4: 1 iris classif.featureless cv 0.7333333 #> 5: 1 iris classif.featureless cv 0.8666667 #> 6: 1 iris classif.featureless cv 0.7333333
autoplot(object)