alterlab-pyhealth

Configure PyHealth pipelines to build, train, and evaluate clinical prediction models.

58|9|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/AlterLab-IEU/AlterLab-Academic-Skills --skill alterlab-pyhealth
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: alterlab-pyhealth
Source: https://github.com/AlterLab-IEU/AlterLab-Academic-Skills/tree/main/skills/clinical-research/alterlab-pyhealth
Command: npx skills add https://github.com/AlterLab-IEU/AlterLab-Academic-Skills --skill alterlab-pyhealth

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

PyHealth provides an integrated toolkit for developing, testing, and deploying machine learning models on clinical data, addressing the need for standardized pipelines in healthcare AI research.

Core Features & Use Cases

  • Comprehensive healthcare AI toolkit with datasets, models, preprocessing, and evaluation workflows.
  • Supports EHR data, medical coding, physiological signals, and imaging for end-to-end clinical prediction tasks.
  • Use cases include mortality prediction, readmission risk, LOS estimation, drug recommendation, and code translation across coding systems.

Quick Start

Load a MIMIC-4 dataset, apply the mortality prediction task, initialize a Transformer model, and train/evaluate end-to-end.

Frequently Asked Questions about alterlab-pyhealth

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

FAQPage Schema
How do I build clinical prediction models from EHR data?

You can build clinical prediction models from EHR data by defining a prediction task, selecting a model, and executing an end-to-end pipeline for training and evaluation. This workflow supports mortality prediction, readmission risk, and length of stay estimation.

Can I use MIMIC-4 datasets for mortality prediction with Transformer models?

Yes, MIMIC-4 datasets can be used for mortality prediction with Transformer models. You can load the dataset, apply the mortality prediction task, initialize a Transformer model, and execute training and evaluation end-to-end.

Does this healthcare AI workflow support physiological signals and medical imaging?

This healthcare AI workflow supports physiological signals, medical imaging, medical coding, and EHR data. It provides a modular pipeline to process these varied clinical data formats for end-to-end clinical prediction tasks.

What is the best way to standardize machine learning pipelines for healthcare AI research?

The best way to standardize machine learning pipelines for healthcare AI research is to use an integrated toolkit that supplies datasets, preprocessing, models, and evaluation workflows. This ensures consistent task definition, training, and evaluation across clinical prediction projects.

Are there limitations when applying Transformer models to clinical coding translation tasks?

Transformer models can be applied to clinical coding translation tasks across different coding systems within this modular pipeline. However, successful training and evaluation depend on the quality of the preprocessed EHR data and the specific task definition configured.

Why do I need a modular pipeline for drug recommendation and readmission risk estimation?

A modular pipeline is needed for drug recommendation and readmission risk estimation to separate data processing, task definition, model selection, and evaluation. This structured approach ensures clinical prediction models are trained, evaluated, and deployed consistently.