Learn R Programming

mlr (version 2.19.1)

getTaskTargetNames: Get the name(s) of the target column(s).

Description

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

Usage

getTaskTargetNames(x)

Value

(character).

Arguments

x

(Task | TaskDesc)
Task or its description object.

See Also

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