powered by
A simple mlr3misc::Dictionary storing objects of class Measure. Each measure has an associated help page, see mlr_measures_[id].
mlr_measures_[id]
This dictionary can get populated with additional measures by add-on packages.
For a more convenient way to retrieve and construct measures, see msr().
msr()
R6::R6Class object inheriting from mlr3misc::Dictionary.
See mlr3misc::Dictionary.
as.data.table(dict) mlr3misc::Dictionary -> data.table::data.table() Returns a data.table::data.table() with fields "key", "task_type", "predict_type", and "packages" as columns.
as.data.table(dict)
data.table::data.table()
Example measures: classif.auc, time_train Sugar function: msr()
classif.auc
time_train
Other Dictionary: mlr_learners, mlr_resamplings, mlr_task_generators, mlr_tasks
mlr_learners
mlr_resamplings
mlr_task_generators
mlr_tasks
Other Measure: MeasureClassif, MeasureRegr, Measure
MeasureClassif
MeasureRegr
Measure
# NOT RUN { as.data.table(mlr_measures) mlr_measures$get("classif.ce") msr("regr.mse") # }
Run the code above in your browser using DataLab