Learn R Programming

FRESA.CAD (version 3.4.7)

getMedianSurvCalibratedPrediction: Binary Predictions Calibration of Random CV

Description

Remove the bias from the test predictions generated via RandomCV

Usage

getMedianSurvCalibratedPrediction(testPredictions)
      getMedianLogisticCalibratedPrediction(testPredictions)

Value

The median estimation of each calibrated predictions

Arguments

testPredictions

A matrix with the test predictions from the randomCV() function

Author

Jose G. Tamez-Pena

Details

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.

See Also

randomCV