R: Get default measure.

getDefaultMeasure {mlr} | R Documentation

## Get default measure.

### Description

Get the default measure for a task type, task, task description or a learner. Currently these are:

classif | mmce
regr | mse
cluster | db
surv | cindex
costsens | mcp
multilabel | multilabel.hamloss

### Usage

    getDefaultMeasure(x)

### Arguments

`x` | ([character(1)' | [Task] | [TaskDesc] | [Learner]) Task type, task, task description, learner name, a learner, or a type of learner (e.g. "classif"). [character(1)' | [Task]: R:character(1) [TaskDesc]: R:TaskDesc [Learner]: R:Learner

### Value

(Measure).

[Package mlr version 2.12.1 Index]