pyhealth

Develop and deploy healthcare AI models on clinical datasets with PyHealth.

1|Updated Apr 8, 2026
One-click install
npx skills add https://github.com/brainworkup/skills --skill pyhealth-brainworkup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pyhealth
Source: https://github.com/brainworkup/skills/tree/main/neuropsych-reports/references/luria-related-complement-skills/pyhealth
Command: npx skills add https://github.com/brainworkup/skills --skill pyhealth-brainworkup

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

PyHealth provides a comprehensive Python library for healthcare AI, enabling data loading, modeling, training, evaluation, and deployment on clinical data.

Core Features & Use Cases

  • End-to-end healthcare AI workflows: data ingestion, preprocessing, model selection, training, and deployment
  • Supports 20+ clinical prediction tasks and 33+ models across EHRs, signals, imaging, and text
  • Integrations with common healthcare datasets (MIMIC-III/IV, eICU, OMOP)

Quick Start

Load MIMIC4 data, set mortality_prediction_mimic4_fn task, train Transformer model, and evaluate on the test set.

Frequently Asked Questions about pyhealth

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

FAQPage Schema
How do I train predictive models on MIMIC-IV EHR datasets?

You can train predictive models on MIMIC-IV EHR datasets by loading the data, setting a mortality prediction task, training a Transformer model, and evaluating it on a test set using PyHealth.

What clinical prediction tasks can I run using EHR data?

You can run 20+ clinical prediction tasks using EHR data, including mortality prediction, readmission prediction, drug recommendation, and medical coding translation.

Does this healthcare AI toolkit support OMOP and eICU datasets?

Yes, this healthcare AI toolkit supports data ingestion and integration with common clinical datasets including OMOP, eICU, MIMIC-III, and MIMIC-IV.

Can I use this for end-to-end model training and evaluation workflows?

Yes, you can use this for end-to-end workflows encompassing data ingestion, preprocessing, model selection, training, calibration, evaluation, and interpretability.

What is the best way to deploy healthcare AI models from clinical data?

The best way to deploy healthcare AI models is using an end-to-end Python library that handles data loading, model training, and evaluation across 33+ supported clinical models.

Are there limitations when applying Transformer models to clinical prediction?

While supporting 33+ models across EHRs, signals, imaging, and text, you must ensure your clinical data is properly preprocessed and formatted before applying Transformer models for clinical prediction.