KDD 2026 hands-on tutorial OneEHR Tuesday, August 11, 2026 1:30 PM - 4:30 PM Jeju, Korea

EHR AI platform

OneEHR

Run longitudinal EHR experiments from standardized event tables, a TOML config, and one saved run directory.

OneEHR covers preprocessing, model training, testing, analysis, and figures for conventional ML/DL models plus LLM or agent systems. The same config and artifacts are used by the CLI, Python API, and notebooks.

Python 3.12+ TOML config MIMIC / eICU ICD / CCS / ATC Parquet + JSON
Input 3-table EHR schema dynamic.csv, static.csv, label.csv
Workflow Preprocess to plot One config, one run directory
Models 42 built in ML, DL, multimodal, KG, survival
Outputs Structured artifacts Predictions, metrics, analysis, figures

Start Here

Installation

Set up Python 3.12+, install OneEHR, and verify the CLI.

Quickstart

Run the bundled TJH example from CSV conversion through analysis and figures.

Data Model

Prepare the dynamic, static, and label CSV files used by every workflow.

Standard Workflow

01

Preprocess

Bin events, encode features, create labels, and save a patient-level split.

02

Train

Fit every model listed in the TOML config against the saved artifacts.

03

Test

Evaluate trained models and configured systems on the held-out test split.

04

Analyze

Write comparison, feature importance, fairness, calibration, statistical test, and missing-data outputs.

oneehr preprocess --config experiment.toml
oneehr train      --config experiment.toml
oneehr test       --config experiment.toml
oneehr analyze    --config experiment.toml
oneehr plot       --config experiment.toml

What You Can Use

Data

Standard CSV inputs

Prepare longitudinal events once, then reuse the same tables for patient-level and time-level tasks.

Models

Configured model runs

Select tabular, deep learning, irregular-time, multimodal, KG-enhanced, or survival models with [[models]] blocks.

Systems

LLM and agent evaluation

Add [[systems]] entries to write predictions into the same test artifact as model outputs.

Analysis

Machine-readable outputs

Use Parquet predictions and JSON analysis files for notebooks, reports, and downstream tooling.

Common Next Pages

Tutorial Tutors

Yinghao Zhu Yinghao Zhu Peking University; University of Hong Kong Zixiang Wang Zixiang Wang Peking University Lei Gu Lei Gu Peking University Dehao Sui Dehao Sui Peking University Yasha Wang Yasha Wang Peking University Ewen M. Harrison Ewen M. Harrison University of Edinburgh Tianfan Fu Tianfan Fu Nanjing University Junyi Gao Junyi Gao University of Edinburgh; Health Data Research UK Lequan Yu Lequan Yu University of Hong Kong Liantao Ma Liantao Ma Peking University