addMlrLearner: Add resampling of an 'mlr' learner as an algorithm.

Description Usage Arguments Details Value

Description

One resampling iteration is one job. The resulting object is a list with the following items

pred [Prediction]

Prediction for resampling iteration.

measures [numeric]

Named vector of performance measures, measures are taken from problem definition.

opt.result [OptResult]

Result of tuning if done, otherwise NULL.

Usage

1
  addMlrLearner(reg, learner)

Arguments

reg

[ExperimentRegistryMlr]
Registry.

learner

[Learner]
Learner.

Details

The id of the learner is used as id for the algorithm, but “classif.” or “regr.” is removed.

Value

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


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