CalibratedPrediction: Binary Predictions Calibration of Random CV

getMedianSurvCalibratedPredictionR Documentation

Binary Predictions Calibration of Random CV

Description

Remove the bias from the test predictions generated via RandomCV

Usage


      getMedianSurvCalibratedPrediction(testPredictions)
      getMedianLogisticCalibratedPrediction(testPredictions)

Arguments

testPredictions

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

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.

Value

The median estimation of each calibrated predictions

Author(s)

Jose G. Tamez-Pena

See Also

randomCV


FRESA.CAD documentation built on Nov. 25, 2023, 1:07 a.m.