Learn R Programming

mlr (version 2.3)

RLearner: Internal construction / wrapping of learner object.

Description

Wraps an already implemented learning method from R to make it accessible to mlr. Call this method in your constructor. You have to pass an id (name), the required package(s), a description object for all changeable parameters (you dont have to do this for the learner to work, but it is strongly recommended), and use property tags to define features of the learner.

Usage

makeRLearner()

makeRLearnerClassif(cl, package, par.set, par.vals = list(), properties = character(0L), name = cl, short.name = cl, note = "")

makeRLearnerRegr(cl, package, par.set, par.vals = list(), properties = character(0L), name = cl, short.name = cl, note = "")

makeRLearnerSurv(cl, package, par.set, par.vals = list(), properties = character(0L), name = cl, short.name = cl, note = "")

makeRLearnerCluster(cl, package, par.set, par.vals = list(), properties = character(0L), name = cl, short.name = cl, note = "")

Arguments

Value

[RLearnerClassif, RLearnerRegr or RLearnerSurv].