Skip to contents

Build Status codecov.io

Introduction

DeepPatientLevelPrediction is an R package for building and validating deep learning patient-level predictive models using data in the OMOP Common Data Model format and OHDSI PatientLevelPrediction framework.

Reps JM, Schuemie MJ, Suchard MA, Ryan PB, Rijnbeek PR. Design and implementation of a standardized framework to generate and evaluate patient-level prediction models using observational healthcare data. J Am Med Inform Assoc. 2018;25(8):969-975.

Features

  • Adds deep learning models to use in the OHDSI PatientLevelPrediction framework.
  • Allows to add custom deep learning models.
  • Includes MLP, ResNet, Transformer, and RealMLP models.
  • Allows to use all the features of PatientLevelPrediction to validate and explore your model performance.

Technology

DeepPatientLevelPrediction is an R package. It uses Python PyTorch through reticulate for deep learning model training and inference.

System Requirements

Requires R (version 4.0.0 or higher). Installation on Windows requires RTools. A CPU can be used for small examples and tests; an NVIDIA GPU is recommended for larger deep learning model development.

Getting Started

  • To install the package please read the Package installation guide
  • Python dependencies are managed through reticulate when the package is loaded or used. Advanced users can point RETICULATE_PYTHON at a prebuilt environment for offline or controlled deployments.
  • Please read the main vignette for the package: Building Deep Learning Models

User Documentation

Documentation can be found on the package website.

PDF versions of the documentation are also available, as mentioned above.

Support

Contributing

Read here how you can contribute to this package.

License

DeepPatientLevelPrediction is licensed under Apache License 2.0

Development

DeepPatientLevelPrediction is being developed in R Studio.