Skip to contents

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():

mlr_tasks$get("unemployment")
tsk("unemployment")

Meta Information

  • Task type: “surv”

  • Dimensions: 3343x6

  • Properties: -

  • Has Missings: FALSE

  • Target: “time”, “status”

  • Features: “age”, “logwage”, “tenure”, “ui”

Preprocessing

  • Only the columns spell, censor1, age, logwage, tenure, ui are 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.