OHDSI/PatientLevelPrediction

Name: PatientLevelPrediction

Owner: Observational Health Data Sciences and Informatics

Description: An R package for performing patient level prediction.

Created: 2015-03-22 19:08:53.0

Updated: 2017-12-30 07:02:56.0

Pushed: 2018-01-15 15:03:20.0

Homepage:

Size: 112860

Language: R

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

PatientLevelPrediction

Introduction

An R package for building patient level predictive models using data in Common Data Model format.

Features

Screenshots

Prediction calibration plot ROC plot
Calibration plotROC plot

Technology

PatientLevelPrediction is an R package, with some functions implemented in C++ and python.

System Requirements

Requires R (version 3.3.0 or higher). Installation on Windows requires RTools. Libraries used in PatientLevelPrediction require Java and Python.

The python installation is required for some of the machine learning algorithms. We advise to install Python 2.7 using Anaconda (https://www.continuum.io/downloads)

Dependencies

Getting Started

  1. On Windows, make sure RTools is installed.

  2. The DatabaseConnector and SqlRender packages require Java. Java can be downloaded from http://www.java.com.

  3. Random forest, Naive Bayes and MLP require python 2.7. Python 2.7 can be downloaded from: https://www.continuum.io/downloads.

  4. In R, use the following commands to download and install PatientLevelPrediction:

    all.packages("drat")
    ::addRepo("OHDSI")
    all.packages("PatientLevelPrediction")
    

    Note that for testing you can simulate a random plpData object using the following code:

    seed(1234)
    (plpDataSimulationProfile)
    leSize <- 2000
    ata <- PatientLevelPrediction::simulatePlpData(plpDataSimulationProfile, n = sampleSize)
    

Have a look at the video below for an extensive demo of the package.

Video Vignette PLP Package

Getting Involved

License

PatientLevelPrediction is licensed under Apache License 2.0

Development

PatientLevelPrediction is being developed in R Studio.

Development status

Build Status codecov.io

Beta

Acknowledgements


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.