listMeasures: Find matching measures.

View source: R/listMeasures.R

listMeasuresR Documentation

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)

## Default S3 method:
listMeasures(obj, properties = character(0L), create = FALSE)

## S3 method for class 'character'
listMeasures(obj, properties = character(0L), create = FALSE)

## S3 method for class '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.


mlr documentation built on June 22, 2024, 10:51 a.m.