Learn R Programming

PatientLevelPrediction (version 4.3.10)

recalibratePlp: recalibratePlp

Description

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

Usage

recalibratePlp(
  prediction,
  analysisId,
  method = c("recalibrationintheLarge", "weakRecalibration")
)

Arguments

prediction

A prediction dataframe

analysisId

The model analysisId

method

Method used to recalibrate ('recalibrationintheLarge' or 'weakRecalibration' )

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 )