What problem does it solve?
This Skill addresses the challenge of building and using complex clinical/healthcare deep-learning pipelines, offering a comprehensive toolkit for data loading, task definition, model instantiation, training, and evaluation.
Core Features & Use Cases
- Unified Pipeline: Offers a 5-stage pipeline (Dataset → Task → Model → Trainer → Metrics) for consistent and scalable workflows.
- Data Loading: Supports loading EHR/signal/imaging datasets like MIMIC-III/IV, eICU, OMOP, SleepEDF, ChestXray14, EHRShot.
- Task Definition: Allows defining tasks such as mortality, readmission, length-of-stay, drug recommendation, sleep staging, ICD coding, EEG events.
- Model Instantiation: Provides models like Transformer, RETAIN, GAMENet, SafeDrug, MICRON, StageNet, AdaCare, CNN/RNN/MLP.
- Training and Evaluation: Facilitates training with the PyHealth Trainer and computing clinical metrics.
- Use Case: For instance, building a pipeline for predicting mortality in hospital patients using MIMIC-III data.
Quick Start
Use the pyhealth skill to create a clinical prediction model for mortality using MIMIC-III data.