Skip to content

Differences in concordance index results via lifelines and scikit-survival #499

Closed Answered by sebp
leandervaneekelen asked this question in Q&A
Discussion options

You must be logged in to vote

The semantics are different. For lifelines y_pred is a score for survival, i.e. a higher score indicates longer survival, for sksurv y_pred should be a risk score, i.e. higher values indicate shorter survival. As you wrote, you can also simply use 1 - c_index to make the results equivalent.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@leandervaneekelen
Comment options

Answer selected by leandervaneekelen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #498 on November 27, 2024 20:38.