Returns “NULL” if the task is not of type “costsens”.
Arguments
- task
(CostSensTask)
The task.- subset
(integer | logical |
NULL)
Selected cases. Either a logical or an index vector. By defaultNULLif all observations are used.
See also
Other task:
getTaskClassLevels(),
getTaskData(),
getTaskDesc(),
getTaskFeatureNames(),
getTaskFormula(),
getTaskId(),
getTaskNFeats(),
getTaskSize(),
getTaskTargetNames(),
getTaskTargets(),
getTaskType(),
subsetTask()
