You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have several questions regard evaluation of survival prediction model, which are extensions of my former question #75
In my project, I would like to build a survival model using GradientBoosting. Since the gradientboosting in scikit-survival is slow, I choose XGBoost to implement the model. Two metrics are used to evaluate and compare model: C-index and time ROC, as you suggested in tutorial.
to get comparable result with scikit-survival prediction result. Then I could use your implementation of c-index to compare two models. However, I am not sure if this work.
In Shap's official tutorial notebook, they implemented C-index as bellow:
AFAICT, the code you posted differs in 2 aspects from concordance_index_censored.
It does not consider tied risk scores.
Assuming labels is the time of the event, then two scores pred[i] and pred[j] are concordant if the i-th patient survived longer and has a lower predicted score, whereas for concordance_index_censored:
If the estimated risk is larger for the sample with a higher time of event/censoring, the predictions of that pair are said to be concordant.
If you get a c-index smaller 0.5, you might need to flip the sign of the predictions to obtain the correct order.
Hi, @sebp
I have several questions regard evaluation of survival prediction model, which are extensions of my former question #75
In my project, I would like to build a survival model using GradientBoosting. Since the gradientboosting in scikit-survival is slow, I choose XGBoost to implement the model. Two metrics are used to evaluate and compare model: C-index and time ROC, as you suggested in tutorial.
to get comparable result with scikit-survival prediction result. Then I could use your implementation of c-index to compare two models. However, I am not sure if this work.
So what the difference between this and yours? I tried both, there are some difference.
Thanks for your answer
Best
Peiyao
The text was updated successfully, but these errors were encountered: