Replies: 1 comment
-
Hello ! So I did some test and I think the answer is that predict method in sklearn_adapter uses by default predict_expectation which correspond to the expected lifetime of individuals. My question now is how are these expected times computed? Is it the expected value obtained by integrating the survival probability function? or is it calculated in another way? Thank you! Camila F |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
I am fitting Weibull AFT and Aalen additive model with lifelines library and then using sklearn_adapter, and this one has a predict method that gives the risks scores that can be used to compute concordance index. I would like to know how is computed exactly this predict method in both cases, Weibull AFT and Aalen additive model. Does predict method from sklearn_adapter call predict_expectations or predict_median or some other function that depends on the model?
Thank you very much!
Kind regards,
Camila F
Beta Was this translation helpful? Give feedback.
All reactions