Remove the bias from the test predictions generated via RandomCV
getMedianSurvCalibratedPrediction(testPredictions)
getMedianLogisticCalibratedPrediction(testPredictions)
The median estimation of each calibrated predictions
A matrix with the test predictions from the randomCV() function
Jose G. Tamez-Pena
There is one function for binary predictions and one for survival predictions. For each trained-test prediction partition. The funciton will subtract the bias. Then it will compute the median prediction. Warning: This procedure is not blinded to the outcome hence it has infromation leakage.
randomCV