addSimulatedData: Add simulated data as a problem.

Description Usage Arguments Value

Description

Learners should be compared on the same training / test splits, therefore a problem seed will always be used to synchronize resampling.

Usage

1
2
  addSimulatedData(reg, id, type, fun, target, resampling,
    measures, seed)

Arguments

reg

[ExperimentRegistryMlr]
Registry.

id

[character(1)]
Name of problem.

type

[character(1)]
Type of learn task, either "classif" for classification or "regr" for regression.

fun

[function]
Function for data generation.

target

[character(1)]
Name of target variable.

resampling

[ResampleDesc | ResampleInstance]
Resampling strategy.

measures

[Measure | list of Measure]
Performance measures to evaluate for task. Default are the default mlr measures for the task.

seed

[integer(1)]
Problem seed. Default is to generate a random one.

Value

[character(1)]. Invisibly returns the id.


tudo-r/BatchExperimentsMlr documentation built on June 1, 2019, 2:52 a.m.