haipipe-data-3-case

Generate ML-ready feature sets from patient time-series data using TriggerFn and CaseFn modules.

Updated Feb 16, 2026
One-click install
npx skills add https://github.com/jluo41/research-skills --skill haipipe-data-3-case
Or copy as Structured Prompt for Agent▌
Please help me install this Agent Skill.
Skill: haipipe-data-3-case
Source: https://github.com/jluo41/research-skills/tree/main/skills/haipipe-data-3-case
Command: npx skills add https://github.com/jluo41/research-skills --skill haipipe-data-3-case

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the complex process of transforming raw patient time-series data into structured, event-triggered feature sets ready for machine learning.

Core Features & Use Cases

  • Event Triggering: Identifies specific events or time windows within patient records (e.g., CGM readings, medication events).
  • Feature Extraction: Extracts relevant features around these trigger points using defined functions (CaseFns).
  • Use Case: Generate a dataset of patient features (like glucose levels before and after an event, or demographic information) for training a predictive model for disease progression.

Quick Start

Use the haipipe-data-3-case skill to cook a new case set using the configuration file located at config/test-haistep-ohio/3_test_case.yaml.

Frequently Asked Questions about haipipe-data-3-case

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

FAQPage Schema
How do I extract event-triggered features from patient time-series data?▌

To extract event-triggered features from patient time-series data, use a configuration-driven pipeline to identify trigger points and apply feature extraction functions, transforming raw records into ML-ready feature vectors.

What is the process for converting raw patient records into ML-ready feature sets?▌

Converting raw patient records into ML-ready feature sets involves processing RecordSets to generate CaseSets by identifying specific event triggers and applying custom feature engineering through a builder pattern.

How do I configure a data pipeline to identify event triggers like medication events in patient data?▌

Configure the data pipeline using a YAML configuration file to define trigger functions that identify specific events or time windows, such as CGM readings or medication events, within patient RecordSets.

Can I build custom feature engineering functions for patient data transformation?▌

Yes, you can build custom feature engineering functions for patient data transformation by defining custom CaseFn modules and utilizing the builder pattern to extract relevant features around identified trigger points.

Does this feature extraction approach support generating datasets for predictive disease progression models?▌

Yes, this feature extraction approach supports generating datasets for predictive disease progression models by extracting features like glucose levels before and after events, along with demographic information, for model training.

What are the limitations when processing patient time-series data into structured feature vectors?▌

When processing patient time-series data into structured feature vectors, limitations include dependency on accurately defined TriggerFn and CaseFn modules, requiring precise configuration to correctly identify event triggers and extract relevant features.