pycox icon indicating copy to clipboard operation
pycox copied to clipboard

Predicting cumulative hazard function or risk score from the model

Open KaranMehta21 opened this issue 4 months ago • 0 comments

Hi Havakv,

Thank you so much for creating this package!

I wanted to ask how do we use the deepsurv model to predict the cumulative hazard function or risk score? All of your jupyter notebook examples show how to predict survival function and plot survival curves. I can calculate hazard function from the survival function but wanted to know if there's an attribute that allows me to predict cumulative hazard function directly from the model?

Thanks

KaranMehta21 avatar Oct 23 '24 13:10 KaranMehta21