getTaskClassLevels: Get the class levels for classification and multilabel tasks.

View source: R/Task_operators.R

getTaskClassLevelsR Documentation

Get the class levels for classification and multilabel tasks.

Description

NB: For multilabel, getTaskTargetNames and getTaskClassLevels actually return the same thing.

Usage

getTaskClassLevels(x)

Arguments

x

(Task | TaskDesc)
Task or its description object.

Value

(character).

See Also

Other task: getTaskCosts(), getTaskData(), getTaskDesc(), getTaskFeatureNames(), getTaskFormula(), getTaskId(), getTaskNFeats(), getTaskSize(), getTaskTargetNames(), getTaskTargets(), getTaskType(), subsetTask()


mlr-org/mlr documentation built on Jan. 12, 2023, 5:16 a.m.