getTaskCosts: Extract costs in task.

Description Usage Arguments Value See Also

View source: R/Task_operators.R

Description

Returns “NULL” if the task is not of type “costsens”.

Usage

1

Arguments

task

[Task]
The task.

subset

[integer | logical]
Selected cases. Either a logical or an index vector. By default all observations are used.

Value

[matrix | NULL].

See Also

Other task: getTaskClassLevels, getTaskData, getTaskDesc, getTaskFeatureNames, getTaskFormula, getTaskId, getTaskNFeats, getTaskSize, getTaskTargetNames, getTaskTargets, getTaskType, subsetTask


riebetob/mlr documentation built on May 20, 2019, 5:58 p.m.