mlr_learners function

Dictionary of Learners

Dictionary of Learners

A simple mlr3misc::Dictionary storing objects of class Learner . Each learner has an associated help page, see mlr_learners_[id].

This dictionary can get populated with additional learners by add-on packages. For an opinionated set of solid classification and regression learners, install and load the list("mlr3learners") package. More learners are connected via https://github.com/mlr-org/mlr3extralearners.

For a more convenient way to retrieve and construct learners, see lrn()/lrns(). data

Format

R6::R6Class object inheriting from mlr3misc::Dictionary .

Methods

See mlr3misc::Dictionary .

S3 methods

  • as.data.table(dict, ..., objects = FALSE)

    mlr3misc::Dictionary -> data.table::data.table()

    Returns a data.table::data.table() with fields "key", "label", "task_type", "feature_types", "packages", "properties", and "predict_types" as columns. If objects is set to TRUE, the constructed objects are returned in the list column named object.

Examples

as.data.table(mlr_learners) mlr_learners$get("classif.featureless") lrn("classif.rpart")

See Also

Sugar functions: lrn(), lrns()

Extension Packages: list("mlr3learners")

Other Dictionary: mlr_measures, mlr_resamplings, mlr_task_generators, mlr_tasks

Other Learner: Learner, LearnerClassif, LearnerRegr, mlr_learners_classif.debug, mlr_learners_classif.featureless, mlr_learners_classif.rpart, mlr_learners_regr.debug, mlr_learners_regr.featureless, mlr_learners_regr.rpart