Giter Club home page Giter Club logo

mimic-iv-datathon's Introduction

Cloud access to datasets

The MIMIC-IV database is available on Amazon Web Services (AWS). To access the data on the cloud, simply add the your 12-digit AWS account ID to your PhysioNet profile as follows (https://physionet.org/settings/cloud/):

You can get your 12-digit account ID from the AWS console. In the navigation bar select the dropdown from the top right corner. Your currently signed-in 12-digit account number (ID) appears in the dropdown: accountid

Launch MIMIC-IV in AWS

MIMIC-IV (version 2.0) is available in an Amazon S3 bucket hosted on AWS. You can use an interactive query service like Amazon Athena to run standard SQL queries against the dataset, or programmatically in an Amazon Sagemaker notebook instance with the latest Jupyter Notebook App pre-installed.

To get started, deploy this cloudformation template. Deploying this template will create the following in your AWS account:

  • An AWS Glue database called mimiciv
  • AWS Glue tables (metadata) which define the schema for each table in the mimiciv database
  • Optional: An Amazon Sagemaker notebook instance with an example python notebook demonstrating access to mimiciv. This will be deployed by default, but you can optionally specify No when deploying the template. Specifying No is useful if you do not have permissions to create an IAM role in your AWS account.
  • An Amazon Athena workgroup configured to allow SQL queries against the mimiciv database
  • An Amazon S3 bucket for use with the Amazon Athena workgroup to store query results

To start this deployment, click the Launch Stack button. Once the Stack has complete deploying, look at the Outputs tab of the AWS CloudFormation console for relevant links to your environment.

cloudformation-launch-stack

Sagemaker Notebook Instance

You can access your notebook instance by clicking the URL in the Outputs tab in the CloudFormation console: notebook-url

There is an example notebook called mimiciv-notebook already installed on the instance to get you started.

Amazon Athena Query Editor

The Outputs tab also has a link to the Amazon Athena query editor interface. Here you can author SQL queries and run them against the mimiciv database.

Once in the web interface, you'll need to switch to the mimiciv workgroup, located towards the top right of the screen: workgroup

This workgroup is configured to log results to an S3 bucket that has been created for you.

Clean Up

When you're done, be sure to delete all the resources in your AWS account. You can do this by simply deleting the CloudFormation stack you deployed earlier.

From the CloudFormation console, select the MIMICIV stack and click the Delete button. This will delete all resources created by this template and you will no longer accrue charges.

mimic-iv-datathon's People

Contributors

chrystinne avatar nragusa avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

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.