Skip to content

Commit

Permalink
add concrete TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
adibender committed Aug 21, 2024
1 parent dc11a7d commit 12a962b
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions mlr-org/gallery/survival/2024-07-30-discrete-time/index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ The advantage of this approach is that once the data are transformed, any classi
The disadvantage is that the data transformation can be cumbersome to perform manually and that it takes quite some boilerplate code to do it consistently across resampling iterations and to combine the conditional probabilities (discrete hazards) to survival probabilities.
However, as we illustrate below, using the discrete time-to-event pipeline implemented in `mlr3proba` using `mlr3pipelines`, all of these details are abstracted away so that practitioners can focus on modeling their data.


In the following paragraphs we will first provide more details and intuition on discrete time-to-event analysis and then illustrate how to perform similar and more advanced machine learning based survival tasks later on.

## Libraries

```{r, message = FALSE}
Expand Down Expand Up @@ -66,6 +63,16 @@ head(tumor)
mean(tumor$status)# ~ca. 50% of subjects are censored during the folow up
```

In the following paragraphs we will first provide a short illustration how to use the discrete-time pipeline in an usual machine learning workflow and compare the prediction to dedicated survival learners.

The following sections provide more details and intuition on discrete time-to-event analysis and discuss some issue related to the discrete time approach.


## TL;DR
In this section we just briefly show some code to get started without much explanation.

TODO


## Discrete time-to-event analysis

Expand Down Expand Up @@ -383,17 +390,21 @@ p_stratified +

## Tuning of learners and out of sample performance


TODO


## Additional Thoughts on Discrete Time-to-Event Analysis

### Number of Intervals

TODO: using the simplest example from above, show how reducing the number of intervals "coarsens" the estimation and how increasing it might lead to longer estimation times, reduced stability of estimates (graphically)

### Modeling the baseline hazard or "what is a featureless discrete time model?"

### Discrete-time vs. continuous time and Interpolation
TODO: using the simplest example from above, show constant baseline hazard, linear, non-linear (already done)-> discuss "featureless"

### Discrete-time vs. continuous time and Interpolation

TODO: Explain that discrete time assumes same discrete time hazard for all time points, S(t) is discrete, but simple linear interpolation provides a solid continous time S(t) approximation

## References

0 comments on commit 12a962b

Please sign in to comment.