mlr3 (version 0.1.0-9000)

expand_grid: Generate a Benchmark Design

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 may not be instantiated, and will be instantiated per task internally.

Usage

expand_grid(tasks, learners, resamplings)

Arguments

tasks

:: (list of Task | character()) Instead a Task object, it is also possible to provide a keys to retrieve tasks from the mlr_tasks dictionary.

learners

(list of Learner | character()) Instead if a Learner object, it is also possible to provide keys to retrieve learners from the mlr_learners dictionary.

resamplings

:: (list of Resampling | character()) Instead if a Resampling object, it is also possible to provide a key to retrieve a resampling from the mlr_resamplings dictionary.

Value

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