Gets the default measures using the information in mlr_reflections$default_measures:
"classif.ce"
for classification ("classif"
)."regr.mse"
for regression ("regr"
).Add-on package may register additional default measures for their own task types.
Value
list of Measure.
Examples
default_measures("classif")
#> $classif.ce
#> <MeasureClassifSimple:classif.ce>: Classification Error
#> * Packages: mlr3, mlr3measures
#> * Range: [0, 1]
#> * Minimize: TRUE
#> * Average: macro
#> * Parameters: list()
#> * Properties: -
#> * Predict type: response
#>
default_measures("regr")
#> $regr.mse
#> <MeasureRegrSimple:regr.mse>: Mean Squared Error
#> * Packages: mlr3, mlr3measures
#> * Range: [0, Inf]
#> * Minimize: TRUE
#> * Average: macro
#> * Parameters: list()
#> * Properties: -
#> * Predict type: response
#>