pyhealth

Train clinical prediction models on EHR datasets with pyhealth.

Updated Mar 10, 2026
One-click install
npx skills add https://github.com/felixboehm/biochem-allergy --skill pyhealth-felixboehm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pyhealth
Source: https://github.com/felixboehm/biochem-allergy/tree/main/.claude/skills/pyhealth
Command: npx skills add https://github.com/felixboehm/biochem-allergy --skill pyhealth-felixboehm

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a comprehensive toolkit for developing, testing, and deploying machine learning models with clinical data, streamlining complex healthcare AI workflows.

Core Features & Use Cases

  • Data Handling: Load and process diverse healthcare datasets (EHR, signals, images).
  • Model Development: Implement and train state-of-the-art models for clinical prediction tasks.
  • Interpretability & Fairness: Evaluate and ensure models are reliable and unbiased for clinical use.
  • Use Case: Predict patient mortality using the MIMIC-IV dataset with a Transformer model, ensuring fairness across demographic groups.

Quick Start

Use the pyhealth skill to train a Transformer model for mortality prediction on the MIMIC-IV dataset.

Frequently Asked Questions about pyhealth

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

FAQPage Schema
How do I develop machine learning models for clinical prediction using EHR data?

To develop clinical prediction models with EHR data, this toolkit provides integrated workflows for loading diverse healthcare datasets, training state-of-the-art models, and evaluating clinical outcomes.

Can I train a Transformer model for mortality prediction on the MIMIC-IV dataset?

Yes, you can train a Transformer model for mortality prediction on the MIMIC-IV dataset. The toolkit supports processing EHR data and training advanced models for this specific clinical use case.

What healthcare AI tasks does pyhealth support besides clinical prediction?

Beyond clinical prediction, this healthcare AI toolkit supports EHR analysis, medical coding, and physiological signal processing, covering comprehensive workflows from data loading to model interpretability.

How do I evaluate fairness and interpretability in healthcare machine learning models?

To evaluate fairness and interpretability in healthcare machine learning, the toolkit includes integrated evaluation tools designed to ensure clinical models are reliable and unbiased across demographic groups.

Does this toolkit handle physiological signal processing for medical datasets?

Yes, physiological signal processing is fully supported. The toolkit enables loading and processing diverse healthcare datasets including EHRs, physiological signals, and medical images for model development.

What is the best way to deploy models trained on clinical data?

For deploying models trained on clinical data, the toolkit streamlines the end-to-end workflow from data handling and model training to testing, ensuring reliable deployment for healthcare AI applications.