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

View source: R/Task_operators.R

getTaskTargetNamesR Documentation

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

Description

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

Usage

getTaskTargetNames(x)

Arguments

x

(Task | TaskDesc)
Task or its description object.

Value

(character).

See Also

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


mlr documentation built on June 22, 2024, 10:51 a.m.