A survival task for the Ecdat::UnempDur data set.
Format
R6::R6Class inheriting from TaskSurv.
Dictionary
This Task can be instantiated via the dictionary mlr_tasks or with the associated sugar function tsk():
Meta Information
Task type: “surv”
Dimensions: 3343x6
Properties: -
Has Missings:
FALSETarget: “time”, “status”
Features: “age”, “logwage”, “tenure”, “ui”
Preprocessing
Only the columns
spell,censor1,age,logwage,tenure,uiare kept in this task.Renamed target columns from (
spell,censor1) to (time,status), so outcome is the duration until re-employment in a full-time job.
See also
Chapter in the mlr3book: https://mlr3book.mlr-org.com/chapters/chapter2/data_and_basic_modeling.html
as.data.table(mlr_tasks)for a table of available Tasks in the running session
Other Task:
TaskDens,
TaskSurv,
mlr_tasks_actg,
mlr_tasks_faithful,
mlr_tasks_gbcs,
mlr_tasks_gbsg,
mlr_tasks_grace,
mlr_tasks_lung,
mlr_tasks_mgus,
mlr_tasks_pbc,
mlr_tasks_precip,
mlr_tasks_rats,
mlr_tasks_veteran,
mlr_tasks_whas