Skip to content

[CS598 DL4H] Added mortality_prediction_eicu.py, mortality_readmission_los_eicu_mlp.py, test_mortality_prediction_eicu.py, and pyhealth.tasks.mortality_prediction_eicu.rst; removed patient_readmission.py, patient_readmission.eicu.py, test_patient_readmission.py, and pyhealth.tasks.patient_readmission.rst. - #1073

Closed
dylan-g12 wants to merge 11 commits into
sunlabuiuc:masterfrom
dylan-g12:master

Conversation

@dylan-g12

Copy link
Copy Markdown

Contributor:

Dylan Guo (dylanlg3@illinois.edu)

Paper Title and Link:

A Case Study Exploring the Current Landscape of Synthetic Medical Record Generation with Commercial LLMs (https://arxiv.org/abs/2504.14657)

Contribution Type:

New Task Contribution

Description:

This PR adds a task as described by Lin, Yu, and Lee in A Case Study Exploring the Current Landscape of Synthetic Medical Record Generation with Commercial LLMs that predicts the mortality of patients based on patient features from the eICU database. With test cases for the reproduced task and an ablation comparing mortality, readmission, and LOS prediction task effectiveness based on the number of features.

The task performs the following:

  1. Turns patient data into samples.
  2. Defines a specific task type for the task to perform.
  3. Uses modular feature hierarchy and dimensionality scaling to mimic the prediction task variance between generations from the study.
  4. Uses metrics outlined in the study to determine the quality of the synthetic data, such as AUROC for the performance of the generated data.

Files to Review:

  • pyhealth/tasks/mortality_prediction_eicu.py - Main task implementation
  • examples/mortality_prediction/mortality_readmission_los_eicu_mlp.py - Example/ablation task
  • tests/core/test_mortality_prediction_eicu.py - Test cases for task
  • doc/api/tasks/pyhealth.tasks.mortality_prediction_eicu.rst - rst doc for the task

dylan-g12 and others added 11 commits April 19, 2026 12:26
…alth/pyhealth/tasks and test_patient_readmission.py from .github to PyHealth/tests
…in patient_readmission.py to not copy class names
…es pyhealth.tasks.BaseTask

=======================================
…ient_readmission.py, and pyhealth.tasks.patient_readmission.rst; added mortality_prediction_eicu.py, mortaility_readmission_los_predictions_eicu_mlp.py, test_mortaility_prediction_eicu.py, and pyhealth.tasks.mortality_prediction_eicu.rst with modifications to tasks.rst. Reason: misunderstanding of reproduction.
@Jathurshan0330 Jathurshan0330 self-assigned this May 3, 2026
@Jathurshan0330
Jathurshan0330 self-requested a review May 3, 2026 20:08
@Jathurshan0330

Copy link
Copy Markdown
Collaborator

PR is good and follows the guidelines well

@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

This PR has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs.

@github-actions github-actions Bot added the stale label Aug 3, 2026
@github-actions

Copy link
Copy Markdown

This PR has been automatically closed due to inactivity. Please re-open it if you think it is still relevant.

@github-actions github-actions Bot closed this Aug 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants