pyhealth

Convert raw clinical data and task specifications into model-ready healthcare AI inputs.

52|6|Updated Nov 24, 2025
One-click install
npx skills add https://github.com/ovachiever/droid-tings --skill pyhealth
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pyhealth
Source: https://github.com/ovachiever/droid-tings/tree/main/skills/pyhealth
Command: npx skills add https://github.com/ovachiever/droid-tings --skill pyhealth

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

PyHealth provides a modular, interoperable framework for healthcare AI, enabling loading of clinical data, task definitions, model selection, training, evaluation, and deployment-ready workflows.

Core Features & Use Cases

  • Rich dataset ecosystem (MIMIC, eICU, OMOP, Sleep EEG, imaging, text)
  • 20+ predefined tasks (mortality, readmission, LOS, drug recommendation)
  • 33+ models (baselines to healthcare-specific)
  • Training, evaluation, calibration, and interpretability tools

Quick Start

Load an MIMIC-4 dataset, set a mortality task, split, train a model, and evaluate.

Frequently Asked Questions about pyhealth

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prepare clinical EHR data for machine learning model training?

PyHealth translates raw clinical data from sources like MIMIC into model-ready inputs through standardized data loading, task definition, and feature preprocessing pipelines. It handles EHR processing, medical coding, physiological signals, and text data to produce consistent schemas ready for training.

Can I use PyHealth to build clinical prediction models for mortality and readmission?

Yes. PyHealth includes 20+ predefined clinical prediction tasks—mortality, readmission, length of stay, and drug recommendation—with 33+ models ranging from baselines to healthcare-specific architectures, plus built-in training, evaluation, and calibration tools.

What datasets does PyHealth support for healthcare AI projects?

PyHealth provides a rich dataset ecosystem including MIMIC-4, eICU, OMOP, Sleep EEG, medical imaging, and clinical text data. Each integrates directly into the framework's data loading pipeline for immediate task definition and model training.

How do I evaluate and deploy a trained clinical prediction model?

PyHealth offers evaluation, calibration, and interpretability tools to assess model performance on clinical tasks. It outputs deployment-ready workflows with standardized schemas and thorough documentation for production integration.

Do I need separate tools to handle different types of clinical data—EHR records, imaging, and signals?

No. PyHealth's modular framework unifies diverse data types—EHR, medical imaging, physiological signals, and clinical text—within a single interoperable pipeline, eliminating the need for separate preprocessing tools across data modalities.