diff --git a/CHANGELOG.md b/CHANGELOG.md index d6bdeaf4a9..bebaf93822 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,20 @@ All notable changes to PyHealth are documented here. Versions follow the [releases page](https://github.com/sunlabuiuc/PyHealth/releases) for the corresponding tags and wheels. +## Unreleased + +### Contributors + +Thank you to the 56 people whose pull requests were merged since 2.1.0: +[@AanshDevpura](https://github.com/AanshDevpura), [@Alhibb](https://github.com/Alhibb), [@anv5](https://github.com/anv5), [@arittrosaha](https://github.com/arittrosaha), [@AxelNoun](https://github.com/AxelNoun), [@bhchance](https://github.com/bhchance), [@btaiyolee](https://github.com/btaiyolee), [@cgcorea](https://github.com/cgcorea), [@chenyangsu](https://github.com/chenyangsu), [@Chinmaykatpatal](https://github.com/Chinmaykatpatal), [@cpruijsen](https://github.com/cpruijsen), [@crisp-co](https://github.com/crisp-co), [@dalloliogm](https://github.com/dalloliogm), [@DarylOkeke](https://github.com/DarylOkeke), [@Edwin0080](https://github.com/Edwin0080), [@etikhonov-dev](https://github.com/etikhonov-dev), [@fbonc](https://github.com/fbonc), [@GenericCoder19](https://github.com/GenericCoder19), [@iammanoj807](https://github.com/iammanoj807), [@irvifa](https://github.com/irvifa), [@Jathurshan0330](https://github.com/Jathurshan0330), [@jhnwu3](https://github.com/jhnwu3), [@joshb-code](https://github.com/joshb-code), [@JustinHotz](https://github.com/JustinHotz), [@Karnis052](https://github.com/Karnis052), [@kojikojikojikoji](https://github.com/kojikojikojikoji), [@konstde00](https://github.com/konstde00), [@kshah317](https://github.com/kshah317), [@lehendo](https://github.com/lehendo), [@lin-tianyu](https://github.com/lin-tianyu), [@Logiquo](https://github.com/Logiquo), [@Mahdi-Hasan](https://github.com/Mahdi-Hasan), [@MateehUllah](https://github.com/MateehUllah), [@MooseInASuit](https://github.com/MooseInASuit), [@nezek6](https://github.com/nezek6), [@nhajela1](https://github.com/nhajela1), [@Om-singhaI](https://github.com/Om-singhaI), [@pemalama12](https://github.com/pemalama12), [@peterjprudhomme](https://github.com/peterjprudhomme), [@QiWenchang](https://github.com/QiWenchang), [@qzhou340](https://github.com/qzhou340), [@rameshsudharshan](https://github.com/rameshsudharshan), [@rayrayowo](https://github.com/rayrayowo), [@rtmalikian](https://github.com/rtmalikian), [@sadegh-n](https://github.com/sadegh-n), [@samehaisaa](https://github.com/samehaisaa), [@SID-6921](https://github.com/SID-6921), [@siqizhu26](https://github.com/siqizhu26), [@sixty-66](https://github.com/sixty-66), [@solarsys](https://github.com/solarsys), [@STANNISDW92](https://github.com/STANNISDW92), [@thebean27](https://github.com/thebean27), [@thekavishshah](https://github.com/thekavishshah), [@themilan1337](https://github.com/themilan1337), [@theocsav](https://github.com/theocsav), [@yfeng3212](https://github.com/yfeng3212). + +Bounties completed in this period, listed with credit on +[pyhealth.dev/bounties](https://pyhealth.dev/bounties.html) and in `bounty.yaml`: +BTY-24, 25, 26, 32, 38, 39, 49, 57 and 63 (@irvifa); BTY-46, 50, 65, 66, 68, 74 +and 75 (@Alhibb); BTY-64 (@irvifa and @samehaisaa); BTY-44 and part of BTY-28 +(@thekavishshah); BTY-41 (@rayrayowo); BTY-36 (@Chinmaykatpatal); BTY-34 +(@etikhonov-dev); BTY-30 (@tkumar007). + ## 2.1.0 — 2026-10-16 A minor release focused on making PyHealth results trustworthy: leakage-free diff --git a/bounty.yaml b/bounty.yaml index 3fd13df21f..4694acb49e 100644 --- a/bounty.yaml +++ b/bounty.yaml @@ -5,43 +5,43 @@ bounty: category: model title: CNN PyHealth 2.0 Migration description: "Port pyhealth/models/cnn.py to the PyHealth 2.0 BaseModel and processor API with forward-pass tests and a MIMIC-III training example. [code](https://github.com/sunlabuiuc/PyHealth/blob/master/pyhealth/models/cnn.py)" - complete: "@Logiquo (yongdaf2@illinois.edu)" + complete: "@Logiquo" - id: 2 priority: 1 category: model title: GNN PyHealth 2.0 Migration description: "Port pyhealth/models/gnn.py (GCN and GAT) to the PyHealth 2.0 BaseModel and processor API with forward-pass tests and a MIMIC-III training example. [code](https://github.com/sunlabuiuc/PyHealth/blob/master/pyhealth/models/gnn.py)" - complete: "@Logiquo (yongdaf2@illinois.edu)" + complete: "@Logiquo" - id: 3 priority: 1 category: model title: Transformer PyHealth 2.0 Migration description: "Port pyhealth/models/transformer.py to the PyHealth 2.0 BaseModel and processor API with forward-pass tests and a MIMIC-III training example. [code](https://github.com/sunlabuiuc/PyHealth/blob/master/pyhealth/models/transformer.py)" - complete: "@Logiquo (yongdaf2@illinois.edu)" + complete: "@Logiquo" - id: 4 priority: 2 category: model title: GAMENet PyHealth 2.0 Migration description: "Port pyhealth/models/gamenet.py to the PyHealth 2.0 BaseModel and processor API for medication recommendation with forward-pass tests and an example notebook. [code](https://github.com/sunlabuiuc/PyHealth/blob/master/pyhealth/models/gamenet.py)" - complete: "@lehendo (arjunc4@illinois.edu)" + complete: "@lehendo" - id: 5 priority: 2 category: model title: SafeDrug PyHealth 2.0 Migration description: "Port pyhealth/models/safedrug.py to the PyHealth 2.0 BaseModel and processor API with forward-pass tests and an example notebook. [code](https://github.com/sunlabuiuc/PyHealth/blob/master/pyhealth/models/safedrug.py)" - complete: "@lehendo (arjunc4@illinois.edu)" + complete: "@lehendo" - id: 6 priority: 2 category: model title: MoleRec PyHealth 2.0 Migration description: "Port pyhealth/models/molerec.py to the PyHealth 2.0 BaseModel and processor API with forward-pass tests and an example notebook. [code](https://github.com/sunlabuiuc/PyHealth/blob/master/pyhealth/models/molerec.py)" - complete: "@lehendo (arjunc4@illinois.edu)" + complete: "@lehendo" - id: 7 priority: 2 category: model title: MICRON PyHealth 2.0 Migration description: "Port pyhealth/models/micron.py to the PyHealth 2.0 BaseModel and processor API with forward-pass tests and an example notebook. [code](https://github.com/sunlabuiuc/PyHealth/blob/master/pyhealth/models/micron.py)" - complete: "@naveenkcb (naveenkcb@illinois.edu)" + complete: "@naveenkcb" - id: 8 priority: 2 category: model @@ -77,7 +77,7 @@ bounty: category: model title: GRASP PyHealth 2.0 Migration description: "Port pyhealth/models/grasp.py to the PyHealth 2.0 BaseModel and processor API with forward-pass tests and a MIMIC-III training pipeline. [code](https://github.com/sunlabuiuc/PyHealth/blob/master/pyhealth/models/grasp.py)" - complete: "@capccode (loewcx@illinois.edu), @lookman-olowo (lolowo2@illinois.edu), @christyanamarie (cmbeard2@illinois.edu), @ddhangdd (dkfung2@illinois.edu)" + complete: "@capccode, @lookman-olowo, @christyanamarie, @ddhangdd" - id: 14 priority: 3 category: model @@ -89,37 +89,37 @@ bounty: category: model title: TCN PyHealth 2.0 Migration description: "Port pyhealth/models/tcn.py to the PyHealth 2.0 BaseModel and processor API with forward-pass tests and an example notebook. [code](https://github.com/sunlabuiuc/PyHealth/blob/master/pyhealth/models/tcn.py)" - complete: "@bilalarif3197 (barif@illinois.edu)" + complete: "@bilalarif3197" - id: 16 priority: 2 category: model title: SparcNet PyHealth 2.0 Migration description: "Port pyhealth/models/sparcnet.py to the PyHealth 2.0 BaseModel and processor API for sleep staging. [code](https://github.com/sunlabuiuc/PyHealth/blob/master/pyhealth/models/sparcnet.py)" - complete: "@joshuxchn (joshua86@illinois.edu)" + complete: "@joshuxchn" - id: 17 priority: 1 category: task title: Readmission Prediction @ t days description: "Implement PyHealth 2.0 readmission prediction tasks with configurable t-day windows across supported EHR datasets such as MIMIC-III and OMOP. [code](https://github.com/sunlabuiuc/PyHealth/blob/master/pyhealth/tasks/readmission_prediction.py)" - complete: "@EricSchrock (ejs9@illinois.edu)" + complete: "@EricSchrock" - id: 18 priority: 1 category: task title: Length of Stay Prediction description: "Implement PyHealth 2.0 length-of-stay prediction tasks across supported EHR datasets. [code](https://github.com/sunlabuiuc/PyHealth/blob/master/pyhealth/tasks/length_of_stay_prediction.py)" - complete: "@jhnwu3 (johnwu3@illinois.edu)" + complete: "@jhnwu3" - id: 19 priority: 1 category: dataset title: eICU Dataset PyHealth 2.0 Migration description: "Migrate eICUDataset to the PyHealth 2.0 BaseDataset API with YAML table configuration and dataset tasks. [code](https://github.com/sunlabuiuc/PyHealth/blob/master/pyhealth/datasets/eicu.py)" - complete: "@jhnwu3 (johnwu3@illinois.edu), @EricSchrock (ejs9@illinois.edu)" + complete: "@jhnwu3, @EricSchrock" - id: 20 priority: 2 category: interpretability title: Attention Rollout description: "Implement the Attention Rollout interpretability method (Abnar & Zuidema, 2020) for PyHealth 2.0 transformer models. [code](https://github.com/sunlabuiuc/PyHealth/blob/master/pyhealth/interpret/methods/attention_rollout.py), [paper](https://arxiv.org/abs/2005.00928)" - complete: "@fbonc (felipea5@illinois.edu)" + complete: "@fbonc" - id: 21 priority: 2 category: model @@ -143,19 +143,19 @@ bounty: category: dataset title: Cardiology Dataset PyHealth 2.0 Migration description: "Move CardiologyDataset (CPSC 2018, Georgia, PTB, PTB-XL, INCART) onto the 2.0 BaseDataset and keep cardiology_detect working, using TUEV as the reference port. Check open PRs #1052, #1187, and #1323 first to avoid duplicate PTB-XL work. [code1](https://github.com/sunlabuiuc/PyHealth/blob/master/pyhealth/datasets/cardiology.py), [code2](https://github.com/sunlabuiuc/PyHealth/blob/master/pyhealth/datasets/tuev.py)" - complete: ~ + complete: "@irvifa (#1551)" - id: 25 priority: 2 category: interpretability title: Grad-CAM Interpretability Method description: "Add a Grad-CAM interpreter to pyhealth.interpret for CNN-based signal and image models (including a 2.0 CNN signal baseline if needed), matching the interface of existing methods such as chefer.py. [code1](https://github.com/sunlabuiuc/PyHealth/tree/master/pyhealth/interpret), [code2](https://github.com/sunlabuiuc/PyHealth/blob/master/pyhealth/interpret/methods/chefer.py), [link](https://github.com/jacobgil/pytorch-grad-cam)" - complete: ~ + complete: "@irvifa (#1499)" - id: 26 priority: 2 category: interpretability title: Raw Attention Interpretability Method description: "Add raw attention weights as a baseline attribution method for PyHealth's Transformer so it can be compared against attention rollout and Chefer relevance. [code](https://github.com/sunlabuiuc/PyHealth/tree/master/pyhealth/interpret), [paper](https://arxiv.org/pdf/2012.09838)" - complete: ~ + complete: "@irvifa (#1496)" - id: 27 priority: 1 category: task @@ -166,7 +166,7 @@ bounty: priority: 1 category: model title: EviCare (KDD 2026) - description: "Implement EviCare, a deep-model-guided LLM in-context reasoning framework for diagnosis prediction on MIMIC-III and MIMIC-IV. [code](https://github.com/zhyccc/EviCare), [paper](https://arxiv.org/abs/2604.10455)" + description: "Implement EviCare, a deep-model-guided LLM in-context reasoning framework for diagnosis prediction on MIMIC-III and MIMIC-IV. [code](https://github.com/zhyccc/EviCare), [paper](https://arxiv.org/abs/2604.10455) — Merged in #1599: EviCare(R), with a RETAIN guide, on MIMIC-III and MIMIC-IV. Remaining: the BoxLM guide (EviCare(B))." complete: ~ - id: 29 priority: 1 @@ -179,7 +179,7 @@ bounty: category: model title: LLM Code-Embedding Transfer (npj Digital Medicine 2026) description: "Add LLM-embedding transfer of EHR predictors across coding systems (such as OMOP/ICD to other vocabularies) for cross-coding-system clinical prediction. [code](https://github.com/mkirchler/grasp), [paper](https://doi.org/10.1038/s41746-026-02363-5)" - complete: ~ + complete: "@tkumar007 (#1754)" - id: 31 priority: 1 category: model @@ -191,7 +191,7 @@ bounty: category: task title: CLIMB Multimodal Task Suite (ICML 2025) description: "Integrate the CLIMB multimodal benchmark task suite and shared loaders with PyHealth across datasets such as MIMIC-III/IV, MIMIC-CXR, PTB-XL, TUAB, and TUEV. [code](https://github.com/DDVD233/CLIMB), [paper](https://arxiv.org/abs/2503.07667)" - complete: ~ + complete: "@irvifa (#1617)" - id: 33 priority: 1 category: model @@ -203,7 +203,7 @@ bounty: category: model title: Delphi-2M (Nature 2025) description: "Port the Delphi generative transformer for multi-disease next-event and time-to-event prediction with a MIMIC-IV/MEDS port alongside the credentialed UK Biobank setup. [code](https://github.com/gerstung-lab/Delphi), [paper](https://doi.org/10.1038/s41586-025-09529-3)" - complete: ~ + complete: "@etikhonov-dev (#1587)" - id: 35 priority: 1 category: model @@ -215,7 +215,7 @@ bounty: category: model title: MAESTRO (NeurIPS 2025) description: "Implement MAESTRO, an adaptive sparse-attention multimodal time-series model, for PyHealth's MIMIC-III multimodal tasks. [code](https://github.com/payalmohapatra/MAESTRO), [paper](https://arxiv.org/abs/2509.25278)" - complete: ~ + complete: "@Chinmaykatpatal (#1549)" - id: 37 priority: 1 category: model @@ -227,13 +227,13 @@ bounty: category: model title: TarDiff Synthetic EHR Time-Series Generator (KDD 2025) description: "Implement TarDiff, a target-oriented diffusion framework for generating synthetic EHR time-series data in PyHealth." - complete: ~ + complete: "@irvifa (#1552, #1562, #1578)" - id: 39 priority: 1 category: model title: MedTok Multimodal Code Tokenizer (ICML 2025) description: "Add MedTok as a drop-in multimodal medical code tokenizer and embedding module for PyHealth EHR models on MIMIC-III/IV and EHRSHOT tasks. [code](https://github.com/mims-harvard/MedTok), [paper](https://arxiv.org/abs/2502.04397)" - complete: ~ + complete: "@irvifa (#1630, #1633)" - id: 40 priority: 1 category: model @@ -245,7 +245,7 @@ bounty: category: model title: HeartLang (ICLR 2025) description: "Implement the HeartLang ECG language model and PTB-XL, CPSC2018, and Chapman ECG classification benchmarks, coordinating with PTB-XL loader PRs #1187 and #1323. [code](https://github.com/PKUDigitalHealth/HeartLang), [paper](https://arxiv.org/abs/2502.10707)" - complete: ~ + complete: "@rayrayowo (#1613, #1571)" - id: 42 priority: 1 category: model @@ -263,7 +263,7 @@ bounty: category: model title: DearLLM (AAAI 2025) description: "Implement DearLLM, which uses LLM-deduced feature correlations as a graph prior, on PyHealth's MIMIC-III and MIMIC-IV prediction tasks. [code](https://github.com/Artessay/DearLLM), [paper](https://doi.org/10.1609/aaai.v39i1.32079)" - complete: ~ + complete: "@thekavishshah (#1553)" - id: 45 priority: 1 category: task @@ -275,7 +275,7 @@ bounty: category: model title: GAME Multi-Institution Code Embeddings (Nature Communications 2025) description: "Add GAME harmonized medical code embeddings as a drop-in embedding initializer for PyHealth models on MIMIC-IV and OMOP. [code](https://github.com/celehs/GAME), [paper](https://arxiv.org/abs/2502.08547)" - complete: ~ + complete: "@Alhibb (#1582)" - id: 47 priority: 1 category: model @@ -293,13 +293,13 @@ bounty: category: model title: Joint Sequence and Image Irregular Time-Series Model (AAAI 2025) description: "Implement the self-supervised joint sequence-and-image model for irregular medical time series on PhysioNet 2012 and PhysioNet 2019 sepsis tasks. [code](https://github.com/zju-d3/AAAI25-Irregular-Medical-Time-Series), [paper](https://arxiv.org/abs/2502.06134)" - complete: ~ + complete: "@irvifa (#1605)" - id: 50 priority: 1 category: model title: UDC Rare-Disease Prediction (WWW 2025) description: "Implement UDC (Unveiling Discrete Clues) for rare-disease prediction on MIMIC-III, MIMIC-IV, and eICU. [code](https://github.com/Data-Designer/UDCHealth)" - complete: ~ + complete: "@Alhibb (#1529)" - id: 51 priority: 1 category: model @@ -341,7 +341,7 @@ bounty: category: model title: ProtoECGNet (MLHC 2025) description: "Implement the ProtoECGNet prototype-based ECG classifier and PTB-XL multi-label classification task, coordinating with open PR #1323. [code](https://github.com/bbj-lab/protoecgnet), [paper](https://arxiv.org/abs/2504.08713)" - complete: ~ + complete: "@irvifa (#1323, #1525)" - id: 58 priority: 2 category: model @@ -377,25 +377,25 @@ bounty: category: model title: MIU-VL Medical Image VLMs (ICLR 2023) description: "Add prompt-based pretrained vision-language model baselines for medical image detection in PyHealth. [code](https://github.com/MembrAI/MIU-VL)" - complete: ~ + complete: "@irvifa (#1655)" - id: 64 priority: 2 category: model title: SleepKD Sleep EEG Distillation (IJCAI 2023) description: "Add SleepKD teacher-assistant knowledge distillation for single-channel sleep EEG staging on PyHealth's Sleep-EDF and ISRUC sleep-staging tasks. [code](https://github.com/HychaoWang/SleepKD)" - complete: ~ + complete: "@irvifa (#1518, #1739), @samehaisaa (#1503)" - id: 65 priority: 3 category: model title: CHET Dynamic Disease Graphs (AAAI 2022) description: "Implement CHET (transition functions over dynamic disease graphs) for diagnosis and heart-failure prediction on MIMIC-III and MIMIC-IV. [code](https://github.com/luchang-cs/chet)" - complete: ~ + complete: "@Alhibb (#1550)" - id: 66 priority: 3 category: calibration title: Fair Conformal Predictors for Medical Imaging (AAAI 2022) description: "Add group-conditional (fair) conformal prediction sets to pyhealth.calib and demonstrate them on an existing PyHealth medical imaging dataset. [code](https://github.com/clu5/AAAI-22)" - complete: ~ + complete: "@Alhibb (#1513)" - id: 67 priority: 3 category: model @@ -407,7 +407,7 @@ bounty: category: model title: DescEmb Text-Based Code Embedding (MLHC 2022) description: "Implement DescEmb to embed medical codes from their text descriptions so a single model transfers across coding systems on MIMIC-III and eICU. [code](https://github.com/hoon9405/DescEmb)" - complete: ~ + complete: "@Alhibb (#1530)" - id: 69 priority: 3 category: model @@ -443,13 +443,13 @@ bounty: category: model title: BEHRT (Scientific Reports 2020) description: "Implement BEHRT (BERT with age and visit-segment embeddings and masked-code pretraining) for next-visit diagnosis prediction on MIMIC. [code](https://github.com/deepmedicine/BEHRT/tree/master)" - complete: ~ + complete: "@Alhibb (#1517)" - id: 75 priority: 4 category: model title: BiteNet (ICDM 2020) description: "Implement BiteNet (Bidirectional Temporal Encoder Network) for diagnosis and readmission prediction on MIMIC-III. [code](https://github.com/Xueping/BiteNet)" - complete: ~ + complete: "@Alhibb (#1528)" - id: 76 priority: 4 category: model