pyhealth

Develop, test, and deploy healthcare machine learning models with clinical data.

1|1|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/youyinnn/skills-collection --skill pyhealth-youyinnn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pyhealth
Source: https://github.com/youyinnn/skills-collection/tree/main/plugins/data-preparation-and-processing/skills/pyhealth
Command: npx skills add https://github.com/youyinnn/skills-collection --skill pyhealth-youyinnn

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, imaging).
  • Model Development: Implement and train state-of-the-art models for clinical prediction.
  • Interpretability & Calibration: Ensure models are reliable and explainable for clinical use.
  • Use Case: Predict patient mortality using MIMIC-IV EHR data with an interpretable Transformer model, ensuring calibrated and fair predictions.

Quick Start

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

Frequently Asked Questions about pyhealth

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

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

Train clinical prediction models by loading electronic health records into a Python toolkit, then implementing deep learning architectures like RETAIN or Transformer for patient mortality or medical coding tasks.

Can I load and process MIMIC-IV datasets for healthcare AI workflows?

Yes, the toolkit supports loading and processing MIMIC-IV datasets for healthcare AI workflows, providing comprehensive data handling for electronic health records to develop and test clinical prediction models.

What deep learning architectures are available for medical coding and clinical prediction?

Available deep learning architectures include RETAIN, Transformer, and GNNs, which are integrated to support advanced clinical prediction tasks and medical coding systems using electronic health records.

How do I ensure machine learning models are reliable and explainable for clinical use?

Ensure clinical model reliability by applying built-in interpretability and calibration features, which validate that healthcare AI predictions remain explainable and fair for clinical deployment scenarios.

Does this toolkit support physiological signals and OMOP datasets for healthcare AI?

Yes, the toolkit supports physiological signals and OMOP datasets, enabling diverse healthcare AI applications alongside electronic health records for comprehensive clinical prediction model development.

What's the best way to deploy healthcare AI models trained on clinical data?

Deploy healthcare AI models by utilizing the toolkit's deployment features, which streamline transitioning trained clinical prediction models into production environments for real-world medical data applications.