This is usually simply <target> ~
.
For multilabel it is <target_1> + ... + <target_k> ~
.
getTaskFormula( x, target = getTaskTargetNames(x), explicit.features = FALSE, env = parent.frame() )
x | |
---|---|
target | ( |
explicit.features | ( |
env | (environment) |
(formula).
Other task:
getTaskClassLevels()
,
getTaskCosts()
,
getTaskData()
,
getTaskDesc()
,
getTaskFeatureNames()
,
getTaskId()
,
getTaskNFeats()
,
getTaskSize()
,
getTaskTargetNames()
,
getTaskTargets()
,
getTaskType()
,
subsetTask()