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
315 stars 74 forks source link

Measure harrell C score #102

Open tommyvcc opened 1 year ago

tommyvcc commented 1 year ago

Hello Is there a way to evaluate the model using harrell c concordance index rather than time dependent concordance? What would be the code for that?

matteo4diani commented 10 months ago

You can use the scikit-survival library for all this kind of metrics, you'll just need to manipulate the data from auton-survival to fit scikit-survival's functions. https://scikit-survival.readthedocs.io/en/stable/

As this is a question it would be better suited for the "Discussions" section: https://github.com/autonlab/auton-survival/discussions. Keep in mind that answers may take a while, but if you want to increase your chances to get one please provide code snippets and detailed explanations/logs in your questions and issues.