benchmark_grid: Generate a Benchmark Grid Design

Description Usage Arguments Value Examples

View source: R/benchmark_grid.R

Description

Takes a lists of Task, a list of Learner and a list of Resampling to generate a design in an expand.grid() fashion (a.k.a. cross join or Cartesian product).

Resampling strategies are not allowed to be instantiated when passing the argument, and instead will be instantiated per task internally.

Usage

1
benchmark_grid(tasks, learners, resamplings)

Arguments

tasks

:: list of Task.

learners

:: list of Learner.

resamplings

:: list of Resampling.

Value

(data.table::data.table()) with the cross product of the input vectors.

Examples

1
2
3
4
tasks = list(tsk("iris"), tsk("sonar"))
learners = list(lrn("classif.featureless"), lrn("classif.rpart"))
resamplings = list(rsmp("cv"), rsmp("subsampling"))
benchmark_grid(tasks, learners, resamplings)

mllg/mlr3 documentation built on Sept. 27, 2019, 9:38 a.m.