Skip to main content

MEDS ML4H 2025 Tutorial

Building a model with MEDS: from the key design principles through data extraction, task definition, and model building.

This page hosts the complete form of the notebooks explored interactively at the MEDS ML4H 2025 Tutorial.

What you'll build​

Over five notebooks, you'll take the openly available MIMIC-IV demo dataset from raw tables to trained, evaluated models for one running prediction task: will a patient's ICU stay last longer than 3 days? Each step uses a tool from the MEDS ecosystem. A final step shows how to compare your models with community baselines in MEDS-DEV.

StepPageWhat you'll doMain tools
1Getting Familiar with MEDSLearn the MEDS data and metadata files on a small example datasetThe MEDS schema
2Converting to MEDSConvert the raw MIMIC-IV demo tables into MEDSMEDS-Extract (built on MEDS-Transforms)
3Extracting a Prediction TaskTurn the clinical question into a precise task definition and extract its labelsACES
4Build a Tabular BaselineBuild features, train a logistic-regression baseline, and evaluate itscikit-learn, MEDS-Evaluation (with MEDS-Tab shown as the scalable alternative)
5Build a Neural NetworkPre-process the data and train a neural network directly over MEDS dataMEDS TorchData, Lightning
6Compare with MEDS-DEVRelate your models to MEDS-DEV baselines, run them yourself, and contributeMEDS-DEV

How to follow along​

  • Just reading? The pages for steps 1–5 render their full notebooks, outputs included, so you can follow the whole tutorial without running anything.
  • Want to run it? Use the "Open in Colab" link at the top of each notebook page, or clone the tutorial repository and run the notebooks locally.
  • Start anywhere. Steps 3–5 begin by downloading the MIMIC-IV demo in MEDS format, and steps 4 and 5 also download the task labels produced in step 3, so you can jump straight to the step you care about.
  • No credentialed data access needed. Everything uses the open-access MIMIC-IV demo.

Tutorial steps​

Tutorial Presenters​

Matthew McDermott's photo
Matthew McDermottAssistant Professor, Columbia University

Additional Tutorial Notebook Authors​

Kamilė Stankevičiūtė's photo
Kamilė StankevičiūtėPh.D. Student, University of Cambridge
Justin Xu's photo
Justin XuPh.D. Student, University of Oxford
Ethan Steinberg's photo
Ethan SteinbergResearcher, Prealize Health

Other Contributors​

(Ordered alphabetically by last name)

Teya Bergamaschi's photo
Teya BergamaschiPh.D. Student, Massachusetts Institute of Technology
Hyewon Jeong, MD's photo
Hyewon Jeong, MDPh.D. Student, Massachusetts Institute of Technology
Simon A. Lee's photo
Simon A. LeePh.D. Student, UCLA, Computational Medicine
Nassim Oufattole's photo
Nassim OufattolePh.D. Student, Massachusetts Institute of Technology
Patrick Rockenschaub's photo
Patrick RockenschaubPostdoctoral Researcher, Medical University of Innsbruck
Jimeng Sun's photo
Jimeng SunHealth Innovation Professor, UIUC
Robin P. van de Water's photo
Robin P. van de WaterPh.D. Student, Hasso Plattner Institute
Michael Wornow's photo
Michael WornowPh.D. Student, Stanford University
John H. Wu's photo
John H. WuPh.D. Student, UIUC
Zhenbang Wu's photo
Zhenbang WuPh.D. Student, UIUC