changeData: Change Task Data

Description Usage Arguments

Description

Mainly for internal use. Changes the data associated with a task, without modifying other task properties.

Usage

1
changeData(task, data, costs, weights)

Arguments

task

[Task]
The task.

data

[data.frame]
The new data to associate with the task. The names and types of the feature columns must match with the old data.

costs

[data.frame
Optional: cost matrix.

weights

[numeric]
Optional: weight vector.


guillermozbta/mir documentation built on May 11, 2019, 6:27 p.m.