Learn R Programming

mlr (version 1.1-18)

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 define what the learner can / cannot do.

Usage

makeRLearner()

makeRLearnerClassif(cl, package, par.set, numerics = FALSE, factors = FALSE, missings = FALSE, weights = FALSE, oneclass = FALSE, twoclass = FALSE, multiclass = FALSE, prob = FALSE, par.vals = list())

makeRLearnerRegr(cl, package, par.set, numerics, factors = FALSE, missings = FALSE, weights = FALSE, se = FALSE, par.vals = list())

Arguments

Value

[RLearnerClassif or RLearnerRegr].