pyhealth

Develop and deploy healthcare AI models with PyHealth's end-to-end toolkit.

321|26|Updated Mar 10, 2026
One-click install
npx skills add https://github.com/mkurman/tamux --skill pyhealth-mkurman
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pyhealth
Source: https://github.com/mkurman/tamux/tree/main/skills/scientific-skills/pyhealth
Command: npx skills add https://github.com/mkurman/tamux --skill pyhealth-mkurman

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

PyHealth provides an end-to-end framework for developing, testing, and deploying healthcare AI solutions. It unifies datasets, tasks, models, and evaluation workflows to streamline clinical machine learning—from EHRs to physiological signals, medical images, and clinical notes.

Core Features & Use Cases

  • Data loading, task definition, model selection, training, evaluation, and deployment for healthcare AI.
  • Predefined clinical prediction tasks (mortality, readmission, length of stay, drug recommendation) and extensible task creation.
  • Medical coding translation, preprocessing, and model interpretability to support research, validation, and deployment in clinical settings.

Quick Start

Set up a mortality-prediction workflow by loading MIMIC4, applying the mortality_prediction_mimic4_fn task, and training a Transformer model.

Frequently Asked Questions about pyhealth

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

FAQPage Schema
How do I build an end-to-end clinical AI model for EHR datasets?

To build a clinical AI model for EHR datasets, you can use a unified framework that handles modular data loading, predefined task definition, model training, and evaluation. This streamlines the workflow from raw electronic health records to deployable predictive models.

What predefined clinical prediction tasks are available for healthcare AI?

Predefined clinical prediction tasks include mortality prediction, readmission forecasting, length of stay estimation, and drug recommendation. You can also define extensible custom tasks to address specific clinical machine learning requirements.

Can I train healthcare AI models on medical signals and clinical notes?

Yes, you can train healthcare AI models across multiple data domains. The framework supports end-to-end model development and deployment for electronic health records, physiological signals, medical imaging, and clinical text.

How do I set up a mortality prediction workflow using MIMIC4 data?

Set up a mortality prediction workflow by loading MIMIC4 data, applying the mortality prediction task function, and training a Transformer model. This process leverages standardized tasks and modular data loading for clinical machine learning.

Does this healthcare AI framework support model interpretability and calibration?

Yes, model interpretability and calibration are supported. The framework includes features for explaining model predictions, translating medical codes, and tuning hyperparameters to validate and deploy AI in clinical settings.

What is the best way to preprocess EHR data for clinical machine learning?

The best way to preprocess EHR data for clinical machine learning is using a toolkit that integrates medical coding translation and modular data loading. This standardizes raw healthcare records into formats suitable for training predictive models.