mlr (version 2.17.0)

listMeasures: Find matching measures.

Description

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) Either character(1) task or the type of the task, in the latter case one of: “classif” “regr” “surv” “costsens” “cluster” “multilabel”. Default is NA matching all types.

properties

(character) Set of required properties to filter for. See Measure for some standardized properties. Default is character(0).

create

(logical(1)) Instantiate objects (or return strings)? Default is FALSE.

Value

([character|list` of Measure). Class names of matching measures or instantiated objects.