A simple mlr3misc::Dictionary storing objects of class Measure. Each measure has an associated help page, see 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().

Format

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

Methods

See mlr3misc::Dictionary.

S3 methods

See also

Example measures: classif.auc, time_train Sugar function: msr()

Other Dictionary: mlr_learners, mlr_resamplings, mlr_task_generators, mlr_tasks

Other Measure: MeasureClassif, MeasureRegr, Measure

Examples

as.data.table(mlr_measures)
#> key task_type packages predict_type task_properties #> 1: classif.acc classif mlr3measures response #> 2: classif.auc classif mlr3measures prob twoclass #> 3: classif.ce classif mlr3measures response #> 4: classif.costs classif response #> 5: classif.dor classif mlr3measures response twoclass #> 6: classif.fbeta classif mlr3measures response twoclass #> 7: classif.fdr classif mlr3measures response twoclass #> 8: classif.fn classif mlr3measures response twoclass #> 9: classif.fnr classif mlr3measures response twoclass #> 10: classif.fomr classif mlr3measures response twoclass #> 11: classif.fp classif mlr3measures response twoclass #> 12: classif.fpr classif mlr3measures response twoclass #> 13: classif.logloss classif mlr3measures prob #> 14: classif.mcc classif mlr3measures response twoclass #> 15: classif.npv classif mlr3measures response twoclass #> 16: classif.ppv classif mlr3measures response twoclass #> 17: classif.precision classif mlr3measures response twoclass #> 18: classif.recall classif mlr3measures response twoclass #> 19: classif.sensitivity classif mlr3measures response twoclass #> 20: classif.specificity classif mlr3measures response twoclass #> 21: classif.tn classif mlr3measures response twoclass #> 22: classif.tnr classif mlr3measures response twoclass #> 23: classif.tp classif mlr3measures response twoclass #> 24: classif.tpr classif mlr3measures response twoclass #> 25: debug <NA> response #> 26: oob_error <NA> response #> 27: regr.bias regr mlr3measures response #> 28: regr.ktau regr mlr3measures response #> 29: regr.mae regr mlr3measures response #> 30: regr.mape regr mlr3measures response #> 31: regr.maxae regr mlr3measures response #> 32: regr.maxse regr mlr3measures response #> 33: regr.medae regr mlr3measures response #> 34: regr.medse regr mlr3measures response #> 35: regr.mse regr mlr3measures response #> 36: regr.msle regr mlr3measures response #> 37: regr.pbias regr mlr3measures response #> 38: regr.rae regr mlr3measures response #> 39: regr.rmse regr mlr3measures response #> 40: regr.rmsle regr mlr3measures response #> 41: regr.rrse regr mlr3measures response #> 42: regr.rse regr mlr3measures response #> 43: regr.rsq regr mlr3measures response #> 44: regr.sae regr mlr3measures response #> 45: regr.smape regr mlr3measures response #> 46: regr.srho regr mlr3measures response #> 47: regr.sse regr mlr3measures response #> 48: selected_features <NA> response #> 49: time_both <NA> response #> 50: time_predict <NA> response #> 51: time_train <NA> response #> key task_type packages predict_type task_properties
mlr_measures$get("classif.ce")
#> <MeasureClassifSimple:classif.ce> #> * Packages: mlr3measures #> * Range: [0, 1] #> * Minimize: TRUE #> * Properties: - #> * Predict type: response
msr("regr.mse")
#> <MeasureRegrSimple:regr.mse> #> * Packages: mlr3measures #> * Range: [0, Inf] #> * Minimize: TRUE #> * Properties: - #> * Predict type: response