View source: R/RunMultiplePlp.R
runMultiplePlp | R Documentation |
Run a list of predictions analyses
runMultiplePlp( databaseDetails = createDatabaseDetails(), modelDesignList = list(createModelDesign(targetId = 1, outcomeId = 2, modelSettings = setLassoLogisticRegression()), createModelDesign(targetId = 1, outcomeId = 3, modelSettings = setLassoLogisticRegression())), onlyFetchData = F, splitSettings = createDefaultSplitSetting(type = "stratified", testFraction = 0.25, trainFraction = 0.75, splitSeed = 123, nfold = 3), cohortDefinitions = NULL, logSettings = createLogSettings(verbosity = "DEBUG", timeStamp = T, logName = "runPlp Log"), saveDirectory = getwd() )
databaseDetails |
The database settings created using |
modelDesignList |
A list of model designs created using |
onlyFetchData |
Only fetches and saves the data object to the output folder without running the analysis. |
splitSettings |
The train/validation/test splitting used by all analyses created using |
cohortDefinitions |
A list of cohort definitions for the target and outcome cohorts |
logSettings |
The setting spexcifying the logging for the analyses created using |
saveDirectory |
Name of the folder where all the outputs will written to. |
This function will run all specified predictions as defined using .
A data frame with the following columns:
analysisId | The unique identifier for a set of analysis choices. |
cohortId | The ID of the target cohort populations. |
outcomeId | The ID of the outcomeId. |
dataLocation | The location where the plpData was saved |
evaluationFolder | The name of file containing the evaluation saved as a csv |
the settings ids | The ids for all other settings used for model development. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.