CVLoglikelihood
This function calculates the cross validated log likelihood score of a validation set. The score is calculated in the context of the training data by means of subtraction. See Houwelingen et al., 2006 for more information.
Parameters:
model
- the model returned bytrainCoxMlp
x_full
- `2D numpy array of the training and validation setytime_full
- time of death or censoring for each patient in both training and validation setystatus_full
- censoring of each patient in both training and validation setx_train
- 2D numpy array of the training setytime_train
- time of death or censoring for each patient in the training setystatus_train
- censoring of each patient in the training set
Reference: van Houwelingen, Hans C., et al. "Cross-validated Cox regression on microarray gene expression data." Statistics in medicine 25.18 (2006): 3201-3216.