convert_task {mlr3} | R Documentation |
Convert a Task from One Type to Another
Description
The task's target is replaced by a different column from the data.
Usage
convert_task(
intask,
target = NULL,
new_type = NULL,
drop_original_target = FALSE,
drop_levels = TRUE
)
Arguments
intask |
|
target |
( |
new_type |
( |
drop_original_target |
( |
drop_levels |
( |
Value
Task of requested type.
[Package mlr3 version 0.20.2 Index]