Specify settings for deceloping a single model
createModelDesign(
targetId,
outcomeId,
restrictPlpDataSettings = createRestrictPlpDataSettings(),
populationSettings = createStudyPopulationSettings(),
covariateSettings = FeatureExtraction::createDefaultCovariateSettings(),
featureEngineeringSettings = NULL,
sampleSettings = NULL,
preprocessSettings = NULL,
modelSettings = NULL,
splitSettings = createDefaultSplitSetting(type = "stratified", testFraction = 0.25,
trainFraction = 0.75, splitSeed = 123, nfold = 3),
runCovariateSummary = T
)
The id of the target cohort that will be used for data extraction (e.g., the ATLAS id)
The id of the outcome that will be used for data extraction (e.g., the ATLAS id)
The settings specifying the extra restriction settings when extracting the data created using createRestrictPlpDataSettings()
.
The population settings specified by createStudyPopulationSettings()
The covariate settings, this can be a list or a single 'covariateSetting'
object.
Either NULL or an object of class featureEngineeringSettings
specifying any feature engineering used during model development
Either NULL or an object of class sampleSettings
with the over/under sampling settings used for model development
Either NULL or an object of class preprocessSettings
created using createPreprocessingSettings()
The model settings such as setLassoLogisticRegression()
The train/validation/test splitting used by all analyses created using createDefaultSplitSetting()
Whether to run the covariateSummary
A list with analysis settings used to develop a single prediction model
This specifies a single analysis for developing as single model