Save the modelDesignList to a json file
savePlpAnalysesJson(
modelDesignList = list(createModelDesign(targetId = 1, outcomeId = 2, modelSettings =
setLassoLogisticRegression()), createModelDesign(targetId = 1, outcomeId = 3,
modelSettings = setLassoLogisticRegression())),
cohortDefinitions = NULL,
saveDirectory = NULL
)
A list of modelDesigns created using createModelDesign()
A list of the cohortDefinitions (generally extracted from ATLAS)
The directory to save the modelDesignList settings
This function creates a json file with the modelDesignList saved
if (FALSE) {
savePlpAnalysesJson(
modelDesignList = list(
createModelDesign(targetId = 1, outcomeId = 2, modelSettings = setLassoLogisticRegression()),
createModelDesign(targetId = 1, outcomeId = 3, modelSettings = setLassoLogisticRegression())
),
saveDirectory = 'C:/bestModels'
)
}