This is a PyTorch implementation of the paper: One-Step Graph-Structured Neural Flows for Irregular Multivariate Time Series Classification published in ICML 2026.
The model is implemented using Python 3.10 with the following dependencies:
pytorch==1.12.1
cudatoolkit==11.3
numpy
scikit-learn
scipy
conda env create -f environment.yml
conda activate gsnfThe PhysioNet 2012 Challenge dataset is available from the official PhysioNet Challenge 2012 page. The P12 command uses this dataset after it has been prepared under the selected data root.
The PhysioNet 2019 Challenge dataset is available from the official PhysioNet Challenge 2019 page. The P19 command uses this dataset after it has been prepared under the selected data root.
The eICU Collaborative Research Database is available from the official PhysioNet eICU-CRD page. Access requires a PhysioNet account, completion of the required training, and acceptance of the applicable data use agreement. After access is approved, download the database and prepare it under the data root used by the eICU command.
MIMIC-IV is available from the official PhysioNet MIMIC-IV page. Access requires a PhysioNet account, completion of the required training, and acceptance of the applicable data use agreement. After access is approved, download the database and prepare it under the data root used by the MIMIC4 command.
python train.py \
--data-root /path/to/PhysioNet12 \
--device cuda \
--seed 0python train.py \
--data-root /path/to/P12 \
--device cuda \
--seed 0python train.py \
--data-root /path/to/P19 \
--device cuda \
--seed 0python train.py \
--data-root /path/to/eICU \
--device cuda \
--seed 0python train.py \
--data-root /path/to/MIMIC4 \
--device cuda \
--seed 0