| wrapped.learner-class(mlr) | R Documentation |
Wraps an already implemented learning method from R to make it accesible to mlr.
Also inlcudes a properties object to describe the features of the learner.
learner.name:character) Descriptive name of the learning methodlearner.pack:character) R package where learner is implementedtrain.fct:function) Function used in above package to train a regular model in the packagetrain.fct.pars:list) Named list of parameters which are fixed in the above train.fct and used at every internal call.predict.fct:function) Function used in above package to predict new data with a trained modelpredict.newdata.arg:character) Name of argument for the new data frame in the underlying predict method.predict.fct.pars:list) Named list of parameters which are fixed in the above predict.fct and used at every internal call.learner.props:learner.props) Properties of the learnertrain.learnersignature(wrapped.learner = "wrapped.learner", formula = "formula", data = "data.frame", weights = "numeric", parset = "list"): Mainly for internal use. Trains a wrapped learner on a giving training set,
possibly w.r.t. some hyperparamters and case weights.initializesignature( = "wrapped.learner"): Constructor.set.train.parsignature( = "wrapped.learner"): Set a parameter for the underlying train function of a
[wrapped.learner].
This is not meant for hyperparameters, pass these through the usual parset argument, but rather to
fix (somewhat technical) arguments which stay the same for the whole experiment. You should not have to use this too often.set.predict.parsignature( = "wrapped.learner"): Set a parameter for the underlying predict function of a wrapped learner.
Used to fix (somewhat techical) arguments which stay the same for the whole experiment.
You should not have to use this too often.