makeBaseWrapper: Exported for internal use only.

View source: R/BaseWrapper.R

makeBaseWrapperR Documentation

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.


mlr documentation built on June 22, 2024, 10:51 a.m.