Learn R Programming

mlr (version 2.15.0)

makeBaseWrapper: Exported for internal use only.

Description

Exported for internal use only.

Usage

makeBaseWrapper(id, type, next.learner, package = character(0L),
  par.set = makeParamSet(), par.vals = list(), learner.subclass,
  model.subclass, cache = FALSE)

Arguments

id

(character(1)) Id string for object. Used to display object.

type

(character(1)) Learner type.

next.learner

(Learner) Learner to wrap.

package

(character) Packages to load when loading learner.

par.set

(ParamSet) Parameter set.

par.vals

(list) Optional list of named (hyper)parameter values.

learner.subclass

(character) Class to assign the new object.

model.subclass

(character) Class to assign learner models.