Giter Site home page Giter Site logo

mimic3's Introduction

mimic3

research for MIMIC-III dataset

guide to install

  • go to data folder and do wget --user YOURUSERNAME --ask-password -A csv.gz -m -p -E -k -K -np -nd https://physionet.org/works/MIMICIIIClinicalDatabase/files/ with YOURUSERNAME is the email you register for mimic3 dataset
  • install postgresql sudo apt-get install postgresql libpq-dev
  • install pgadmin4: download wget https://ftp.postgresql.org/pub/pgadmin3/pgadmin4/v1.3/pip/pgadmin4-1.3-py2.py3-none-any.whl and do pip install pgadmin* in your conda environment
  • make your computer account a superuser for postgres: sudo su - postgres then psql postgres then CREATE USER youraccount;, ALTER USER youraccount superuser;, and CREATE DATABASE mimic3 OWNER youraccount
  • fork the repo git clone --recursive https://github.com/AM2-Labs/mimic3.git
  • go the the subfolder cd mimic3/mimic-code/buildmimic/postgres/
  • create tables psql mimic3 -f postgres_create_tables.sql -U youraccount
  • import data into tables psql mimic3 -f postgres_load_data_gz.sql -U youraccount -v mimic_data_dir='<path_to_data>'
  • add indices to database psql mimic3 -f postgres_add_indexes.sql -U your account
  • add password to your account psql mimic3 then ALTER USER youraccount PASSWORD 'yourpassword' then ALTER USER youraccount nosuperuser;
  • run pgadmin4: go to your python source folder of pgadmin4 cd PATH/lib/python3.5/site-packages/pgadmin4, do python pgAdmin4.py, and go to the browser http://127.0.0.1:5050
  • to add database to pgadmin4, right click in Servers -> Create -> Server -> fill name (any name) -> Connection -> host: localhost -> database: mimic3 -> username: youraccount -> pass: yourpassword -> Save

practice to query

understand tables

papers

mimic3's People

Contributors

fehiepsi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

mimic3's Issues

Jupyter notebooks?

Hello,

Right now the Jupyter Notebooks only contain a link to the paper. Is there anyway to see the actual Jupyter notebooks that were used by your team?

Thank you.

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.