| getTaskCosts {mlr} | R Documentation |
Returns “NULL” if the task is not of type “costsens”.
getTaskCosts(task, subset = NULL)
task |
(CostSensTask) |
subset |
(integer | logical | |
(matrix | NULL).
Other task: getTaskClassLevels,
getTaskData, getTaskDesc,
getTaskFeatureNames,
getTaskFormula, getTaskId,
getTaskNFeats, getTaskSize,
getTaskTargetNames,
getTaskTargets, getTaskType,
subsetTask