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
![Screenshot 2024-02-13 at 5 38 32 PM](https://private-user-images.githubusercontent.com/112448023/304567773-39cfd3d0-6c93-4054-8cb0-c779349213b8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDAxMjg5MzksIm5iZiI6MTc0MDEyODYzOSwicGF0aCI6Ii8xMTI0NDgwMjMvMzA0NTY3NzczLTM5Y2ZkM2QwLTZjOTMtNDA1NC04Y2IwLWM3NzkzNDkyMTNiOC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjIxJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIyMVQwOTAzNTlaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0wOTQ0ZDVhZTJiMWJmZmNhZmI4MTc4NDE2MjQ4MzVmZTc4OGQ2OTNjYTIwY2FhMjg1ZGExYTYzNTM4MjY1NjIxJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.HerHen2OZ1OyzUUFTz209Z3--hBgiMvrVDMvpAhM1dM)
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