autonlab / auton-survival

Auton Survival - an open source package for Regression, Counterfactual Estimation, Evaluation and Phenotyping with Censored Time-to-Events
http://autonlab.github.io/auton-survival
MIT License
321 stars 74 forks source link

Predict Score Function for Deep Cox Mixtures (PyTorch Implementation) #62

Closed PranavM98 closed 2 years ago

PranavM98 commented 2 years ago

Hi! Really inspired by this work and tried to implement the DCM model in our project. Noticed that there was a predict_scores function in the tensorflow implementation of dcm but unable to find the same function in PyTorch. Would really appreciate your help here. Thank you!

chiragnagpal commented 2 years ago

Hi @PranavM98 in survival analysis there are various different notions of "score" or "risk". The most common ones are:

Probability of Survival $P(T>t|X=x)$ which you can get from the predict_survival function. Risk of Event $P(T<t|X=x)$ which is just an inverse of Probability of Survival and so $P(T<t|X=x)=1-P(T>t|X=x)$

PranavM98 commented 2 years ago

Thank you for the explanation!