Returns the matching measures which have specific characteristics, e.g. whether they supports classification or regression.
Usage
listMeasures(obj, properties = character(0L), create = FALSE)
# S3 method for default
listMeasures(obj, properties = character(0L), create = FALSE)
# S3 method for character
listMeasures(obj, properties = character(0L), create = FALSE)
# S3 method for Task
listMeasures(obj, properties = character(0L), create = FALSE)
Arguments
- obj
(
character(1)
| Task)
Eithercharacter(1)
task or the type of the task, in the latter case one of: “classif” “regr” “surv” “costsens” “cluster” “multilabel”. Default isNA
matching all types.- properties
(character)
Set of required properties to filter for. See Measure for some standardized properties. Default ischaracter(0)
.- create
(
logical(1)
)
Instantiate objects (or return strings)? Default isFALSE
.
Value
([character|
list` of Measure). Class names of matching
measures or instantiated objects.