getTaskCosts {mlr} | R Documentation |
Extract costs in task.
Description
Returns “NULL” if the task is not of type “costsens”.
Usage
getTaskCosts(task, subset = NULL)
Arguments
task |
(CostSensTask) |
subset |
(integer | logical | |
Value
(matrix
| NULL
).
See Also
Other task:
getTaskClassLevels()
,
getTaskData()
,
getTaskDesc()
,
getTaskFeatureNames()
,
getTaskFormula()
,
getTaskId()
,
getTaskNFeats()
,
getTaskSize()
,
getTaskTargetNames()
,
getTaskTargets()
,
getTaskType()
,
subsetTask()
[Package mlr version 2.19.2 Index]