pyhealth

Extract PyHealth metadata and define its operational scope for healthcare AI tasks.

18|1|Updated Dec 27, 2025
One-click install
npx skills add https://github.com/LogauaEngstrom/claude-scientific-skills --skill pyhealth-logauaengstrom
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pyhealth
Source: https://github.com/LogauaEngstrom/claude-scientific-skills/tree/main/scientific-skills/pyhealth
Command: npx skills add https://github.com/LogauaEngstrom/claude-scientific-skills --skill pyhealth-logauaengstrom

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

PyHealth provides a comprehensive toolkit to develop, test, and deploy machine learning models using clinical data.

Core Features & Use Cases

  • Modular data loading and task definitions for EHR, imaging, EEG, and text data.
  • End-to-end pipelines including data preprocessing, model training, evaluation, calibration, and interpretability.
  • Prebuilt clinical prediction tasks (mortality, readmission, length of stay, drug recommendation) with extensive reference documentation and multi-dataset support (MIMIC, eICU, OMOP, Sleep EEG, medical imaging, and clinical notes).

Quick Start

Load a MIMIC4 dataset, set a mortality prediction task, and train a Transformer model to demonstrate end-to-end workflow.

Frequently Asked Questions about pyhealth

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

FAQPage Schema
How do I build a clinical prediction model using MIMIC EHR data?

To build a clinical prediction model using MIMIC EHR data, you can use modular data loading to ingest MIMIC4, define a mortality or readmission task, and run an end-to-end pipeline covering preprocessing, training, and evaluation.

What healthcare machine learning tasks are supported for clinical data?

Supported healthcare machine learning tasks for clinical data include mortality prediction, readmission, length of stay estimation, and drug recommendation, alongside capabilities for processing EEG, medical imaging, and clinical text data.

Can I use clinical notes and medical imaging data in the same machine learning pipeline?

Yes, you can process clinical notes and medical imaging data in the same pipeline because the toolkit provides modular data loading and task definitions that support EHR, imaging, EEG, and text data formats simultaneously.

Does the healthcare AI pipeline include model calibration and interpretability?

Yes, the healthcare AI pipeline includes model calibration and interpretability steps. The end-to-end workflows cover data preprocessing, model training, evaluation, calibration, and interpretability for clinical prediction models.

What is the best way to deploy machine learning models trained on electronic health records?

The best way to deploy machine learning models trained on electronic health records is using a comprehensive toolkit that integrates data preprocessing, model training, evaluation, and deployment workflows specifically designed for clinical data environments.