Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add BCB'21 paper "DeepNote-GNN: predicting hospital readmission using clinical notes and patient network" #229

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

pat-jj
Copy link
Collaborator

@pat-jj pat-jj commented Oct 8, 2023

Integrating the implementation of the paper "DeepNote-GNN: Predicting Hospital Readmission using Clinical Notes and Patient Network" into PyHealth.

@pat-jj pat-jj changed the title Add DeepNote Add BCB'21 paper "DeepNote-GNN: predicting hospital readmission using clinical notes and patient network" Oct 8, 2023
@pat-jj
Copy link
Collaborator Author

pat-jj commented Oct 8, 2023

  1. I added a base dataset for clinical notes (base_note_dataset.py, mimic3_note.py)
  2. I added the corresponding sample dataset (SampleNoteDataset)
  3. I added the ‘readmission_prediction_mimic3_note_fn’ task function to use clinical notes for readmission prediction.
  4. For the ‘split_by_patient’ function, I added an option to balance the positive/negative samples in the validation/test set.
  5. I initialized the DeepNote model, which has a load_graph function now, to create a global graph for clinical notes.

I provided a jupyter notebook to play this pipeline (until model initialization): ‘/PyHealth/test.ipynb’

I have to start preparing for my midterm exam (next Wednesday) now, and will continue this work by then.

@zzachw
Copy link
Collaborator

zzachw commented Oct 22, 2023

The model looks good to me. I will combine the dataset part with #172 and merge later.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add more comments to this notebook? Can rename it properly?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, will rename (or remove) it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants