getDefaultMeasure: Get default measure.

View source: R/Measure.R

getDefaultMeasureR 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
costsen: 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").

Value

(Measure).


berndbischl/mlr documentation built on Aug. 15, 2024, 4:20 p.m.