pyhealth

Develop and evaluate healthcare machine learning models using clinical datasets.

1|Updated Mar 12, 2026
One-click install
npx skills add https://github.com/yf8578/clawomics --skill pyhealth-yf8578
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pyhealth
Source: https://github.com/yf8578/clawomics/tree/main/skills/pyhealth
Command: npx skills add https://github.com/yf8578/clawomics --skill pyhealth-yf8578

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the complex process of developing, testing, and deploying machine learning models using diverse and challenging clinical data from electronic health records and other healthcare sources.

Core Features & Use Cases

  • Comprehensive Data Handling: Load, process, and analyze various healthcare datasets (EHR, signals, images, text) with standardized interfaces.
  • Advanced Model Development: Implement and train over 30+ specialized models for clinical prediction tasks like mortality, readmission, and drug recommendation.
  • Use Case: Predict patient mortality risk using MIMIC-IV EHR data by loading the dataset, defining the mortality prediction task, training a Transformer model, and evaluating its performance with AUC metrics.

Quick Start

Use the pyhealth skill to load the MIMIC-IV dataset and set up the mortality prediction task.

Frequently Asked Questions about pyhealth

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

FAQPage Schema
How do I build predictive models with MIMIC-IV EHR data?

To build predictive models with MIMIC-IV EHR data, you can load the dataset through standardized interfaces, define a specific clinical task like mortality prediction, train a machine learning model, and evaluate performance using AUC metrics.

What healthcare AI tasks can I perform using clinical data?

You can perform healthcare AI tasks such as predicting patient mortality, readmission risk, and drug recommendation by processing diverse clinical data including EHRs, physiological signals, medical imaging, and text.

Does this toolkit support Transformer models for mortality prediction?

Yes, the toolkit supports Transformer models for mortality prediction by allowing you to load EHR datasets, define the prediction task, train the model, and evaluate its clinical performance.

Can I analyze eICU and OMOP datasets for clinical predictions?

Yes, you can analyze eICU and OMOP datasets for clinical predictions using standardized data interfaces that facilitate loading, processing, and model training across standard healthcare datasets.

What is the best way to evaluate machine learning models on EHR data?

The best way to evaluate machine learning models on EHR data is by using built-in evaluation metrics like AUC after training specialized models on defined clinical prediction tasks such as mortality or readmission.