diagnoseMultiplePlp: Run a list of predictions diagnoses

View source: R/DiagnosePlp.R

diagnoseMultiplePlpR Documentation

Run a list of predictions diagnoses

Description

Run a list of predictions diagnoses

Usage

diagnoseMultiplePlp(
  databaseDetails = createDatabaseDetails(),
  modelDesignList = list(createModelDesign(targetId = 1, outcomeId = 2, modelSettings =
    setLassoLogisticRegression()), createModelDesign(targetId = 1, outcomeId = 3,
    modelSettings = setLassoLogisticRegression())),
  cohortDefinitions = NULL,
  logSettings = createLogSettings(verbosity = "DEBUG", timeStamp = T, logName =
    "diagnosePlp Log"),
  saveDirectory = getwd()
)

Arguments

databaseDetails

The database settings created using createDatabaseDetails()

modelDesignList

A list of model designs created using createModelDesign()

cohortDefinitions

A list of cohort definitions for the target and outcome cohorts

logSettings

The setting spexcifying the logging for the analyses created using createLogSettings()

saveDirectory

Name of the folder where all the outputs will written to.

Details

This function will run all specified prediction design diagnoses as defined using .

Value

A data frame with the following columns:

⁠analysisId⁠ The unique identifier for a set of analysis choices.
⁠targetId⁠ The ID of the target cohort populations.
⁠outcomeId⁠ The ID of the outcomeId.
⁠dataLocation⁠ The location where the plpData was saved
⁠the settings ids⁠ The ids for all other settings used for model development.

OHDSI/PatientLevelPrediction documentation built on April 27, 2024, 8:11 p.m.