getTaskFormula {mlr} | R Documentation |
Get formula of a task.
Description
This is usually simply <target> ~
.
For multilabel it is <target_1> + ... + <target_k> ~
.
Usage
getTaskFormula(
x,
target = getTaskTargetNames(x),
explicit.features = FALSE,
env = parent.frame()
)
Arguments
x |
|
target |
( |
explicit.features |
( |
env |
(environment) |
Value
(formula).
See Also
Other task:
getTaskClassLevels()
,
getTaskCosts()
,
getTaskData()
,
getTaskDesc()
,
getTaskFeatureNames()
,
getTaskId()
,
getTaskNFeats()
,
getTaskSize()
,
getTaskTargetNames()
,
getTaskTargets()
,
getTaskType()
,
subsetTask()
[Package mlr version 2.19.2 Index]