tidymodels / censored

Parsnip wrappers for survival models
https://censored.tidymodels.org/
Other
123 stars 12 forks source link

Updates for survival 3.7-0 #321

Closed hfrick closed 5 months ago

hfrick commented 5 months ago

closes #320

For eval_time = Inf, there is a difference between what censored had been doing and what survival does now: censored returned a survival probability of 0, survival returns the survival probability at the last observation - if that is a censored observation, the probability is > 0.

With this PR, censored let's the survival package handle these cases.

github-actions[bot] commented 5 months ago

This pull request has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.