Update test-resources MIMIC synthetic data #29
Merged
Conversation
test-resources MIMIC synthetic data
joshuasteier
approved these changes
May 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
A very small PR to update the synthetic data for MIMIC-4, especially as we're trying to be more careful with data leakage in multimodal tasks.
We're hoping to use this standardized task setup found in multimodal_mimic.py base task.
Overview of Changes
test-resources/core/mimic4demo/note/discharge.csv: Added a note for subject10003during admission id20006which notes that the patient passed away. If our task setup is correct, this should not appear in the training set because it leaks the outcome for mortality predictiontest-resources/core/mimic4demo/hosp/diagnoses_icd.csv: Added an ICD-10 code for subject10003during admission id20006with ICD-10 codeR99which codes for Ill-defined and unknown cause of mortality. If our task setup is correct, this should not appear in the training set because it leaks the outcome for mortality predictionTesting Notes
examples/multimodal_mimic4_task_tutorial.ipynbfor members who have aMORTALITY_LABEL = 1as the outcome to make sure that we don't leak the note data that indicates a member passed away