Train various models using a default parameter gird search or user specified parameters

recalibratePlpRefit(plpModel, newPopulation, newData)

Arguments

plpModel

The trained plpModel (runPlp$model)

newPopulation

The population created using createStudyPopulation() who will have their risks predicted

newData

An object of type plpData - the patient level prediction data extracted from the CDM.

Value

An object of class runPlp that is recalibrated on the new data

Details

The user can define the machine learning model to train (regularised logistic regression, random forest, gradient boosting machine, neural network and )