CIndex

This function calculates the Concordance Index (C-Index) of the model. This statistic is the area under the curve in a classification model.

Parameters:

  • model - the model returned by trainCoxMlp
  • x_test - `2D numpy array of features
  • ytime_test - time of death or censoring for each patient
  • ystatus_test - censoring of each patient

Reference: Heagerty, Patrick J., and Yingye Zheng. "Survival model predictive accuracy and ROC curves." Biometrics 61.1 (2005): 92-105.