A simple 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 more classification and regression learners, load the mlr3learners package.
For a more convenient way to retrieve and construct learners, see lrn()
.
R6::R6Class object inheriting from mlr3misc::Dictionary.
See Dictionary.
as.data.table(dict)
Dictionary -> data.table::data.table()
Returns a data.table::data.table()
with fields "key", "feature_types", "packages",
"properties" and "predict_types" as columns.
Example learners: classif.rpart
, regr.rpart
,
classif.featureless
, regr.featureless
, classif.debug
Sugar function: lrn()
Extension Packages: mlr3learners
Other Dictionary: mlr_measures
,
mlr_resamplings
,
mlr_task_generators
,
mlr_tasks
Other Learner: LearnerClassif
,
LearnerRegr
, Learner
# NOT RUN {
as.data.table(mlr_learners)
mlr_learners$get("classif.featureless")
lrn("classif.rpart")
# }
Run the code above in your browser using DataLab