Code Monkey home page Code Monkey logo

mimic-workshop's Introduction

MIMIC Critical Care Datathon

These are training materials for the MIMIC Critical Care Database. The package includes:

  • a demo version of MIMIC which can be quickly installed in the Firefox web browser with the SQLite Plugin.
  • some sample SQL queries which can be used to query the MIMIC data
  • an IPython Notebook which connects to the demo MIMIC database and allows analysis to be carried out using Python.

What is MIMIC-III?

MIMIC-III is a widely-used, freely available dataset developed by the MIT Lab for Computational Physiology, comprising deidentified health data associated with >40,000 critical care patients. It includes demographics, vital signs, laboratory tests, medications, and more. Details are available on the MIMIC website: https://mimic.physionet.org/

Workshop overview

During the workshop, you will:

  • Learn about MIMIC-III, the publicly accessible critical care database
  • Create a local version of MIMIC-III with a small sample of patients using the Firefox SQLite Plugin
  • Explore the patient data using SQL
  • Plot and analyse the data using Python
  • Get inspiration for future research projects

Downloading the materials

If you are familiar with git, please clone this repository. If not, click the 'Download ZIP' button on the right and then unzip the materials onto your computer.

Installing a demo version of MIMIC-III with SQLite Manager

To create the database on your computer, you will need the Firefox SQLite Manager Add-on. Open Firefox, select "Add-ons" from the Tools menu, and then install SQLite Manager. To create the demo database, select "connect to database" from the menu and choose the data/mimicdata.sqlite file.

Analysing the data using IPython Notebook

To analyse the data using IPython Notebook:

  • If you already have Python and the Pip package manager, run pip install ipython
  • If you are new to Python, we suggest installing the Anaconda package from https://www.continuum.io/downloads. Then run conda update ipython.

Once IPython is installed, run ipython notebook from the command line to open IPython Notebook, then open one of the notebook (.ipynb) files (for example, 01-example-patient-heart-failure.ipynb).

Getting access to the full MIMIC-III dataset

If after this workshop you would like to gain access to the full MIMIC-III dataset, which contains rich data for over 40,000 patients, please see: https://mimic.physionet.org/gettingstarted/access/

Help to improve the workshop

We hope to improve the workshop contents over time and we welcome your contributions. Please raise an issue and/or submit a pull request!

mimic-workshop's People

Contributors

alistairewj avatar mattzeunert avatar tompollard avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mimic-workshop's Issues

Operational Error

I get an error when I run this line:

Connect to the MIMIC database

conn = sqlite3.connect('data/mimicdata.sqlite')

OperationalError Traceback (most recent call last)
in ()
1 # Connect to the MIMIC database
----> 2 conn = sqlite3.connect('data/mimicdata.sqlite')

OperationalError: unable to open database file

image

data/example_ioevents.csv is missing

In 01-example-patient-heart-failure.ipynb, for the example Plot 5: intravenous medications, the file data/example_ioevents.csv is missing. This makes it impossible to run the sample.

Variable ranges

My research involves exploring computational architectures in particular neural networks to find, express and extract information to improve clinical decision making and patient outcomes by analysing ICU variables.

I am currently working on a subset of the medical data (MIMIC III) and would like to know if you have the average normal ranges for the variables used in the database. For clarity, the ranges I am referring to are the normal ranges (that is for patients not in ICU), for example, the normal range for temperature is 97°F (36.1°C) to 99°F (37.2°C).

I am unable to obtain reliable ranges for all the variables from one source and I am hoping to obtain the ranges directly from your team as you are the source of the data and this reduces any discrepancies.

Connection to DB instance fails.

connection to db host mimic3-1.coh8b3jmul4y.us-west-2.rds.amazonaws.com fails. mlcc_mortality_prediction.ipynb attempts to connect to the above mentioned DB instance and the connection fails.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.