listMeasures: Find matching measures.

Description Usage Arguments Value

Description

Returns the matching measures which have specific characteristics, e.g. whether they supports classification or regression.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
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 a 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.


guillermozbta/mir documentation built on May 11, 2019, 6:27 p.m.