powered by
createValidationDesign - Define the validation design for external validation
createValidationDesign( targetId, outcomeId, populationSettings = NULL, restrictPlpDataSettings = NULL, plpModelList, recalibrate = NULL, runCovariateSummary = TRUE )
A validation design object of class validationDesign or a list of such objects
validationDesign
The targetId of the target cohort to validate on
The outcomeId of the outcome cohort to validate on
A list of population restriction settings created by createPopulationSettings. Default is NULL and then this is taken from the model
createPopulationSettings
A list of plpData restriction settings created by createRestrictPlpDataSettings. Default is NULL and then this is taken from the model.
createRestrictPlpDataSettings
A list of plpModels objects created by runPlp or a path to such objects
runPlp
A vector of characters specifying the recalibration method to apply,
whether to run the covariate summary for the validation data
# create a validation design for targetId 1 and outcomeId 2 one l1 model and # one gradient boosting model createValidationDesign(1, 2, plpModelList = list( "pathToL1model", "PathToGBMModel"))
Run the code above in your browser using DataLab