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 bytrainCoxMlp
x_test
- `2D numpy array of featuresytime_test
- time of death or censoring for each patientystatus_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.