Skip to contents

A survival task for the whas 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("whas")
tsk("whas")

Meta Information

  • Task type: “surv”

  • Dimensions: 481x11

  • Properties: -

  • Has Missings: FALSE

  • Target: “time”, “status”

  • Features: “age”, “chf”, “cpk”, “lenstay”, “miord”, “mitype”, “sexF”, “sho”, “year”

Preprocessing

  • Columns id, yrgrp, and dstat are removed.

  • Column sex is renamed to sexF, lenfol to time, and fstat to status.

  • Target is total follow-up time from hospital admission.