Replies: 1 comment 3 replies
-
Hi! We do not support anything other than right-censored survival tasks atm. So yes, I think right now To implement this I need either toooooooo much free time :) or a research student to help! In this issue I have more details about how this should look like (different types of survival tasks, etc.) |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In survival package, the most common way to encode time-dependent covariates is to use the (start, stop] form
of the model:
Surv(time1, time2, status)
. Below is what the timedep vignettes of survival package said:In mlr3,
as_task_surv()
do have parameterstime2
, for example,as_task_surv(mydata, time = "time1",time2 = "time2", event = "status")
. However, when I run the codes below, the selected feature included thetime2
.Does it mean the surv learners like glmnet regard the
time2
as the predictor instead of the response variableSurv(...)
? What survival models in mlr3 supportSurv(time1, time2, status)
encoding?Thanks!!!
Beta Was this translation helpful? Give feedback.
All reactions