Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GSNF

This is a PyTorch implementation of the paper: One-Step Graph-Structured Neural Flows for Irregular Multivariate Time Series Classification published in ICML 2026.

GSNF

Requirements

The model is implemented using Python 3.10 with the following dependencies:

pytorch==1.12.1
cudatoolkit==11.3
numpy
scikit-learn
scipy

Environment

conda env create -f environment.yml
conda activate gsnf

Dataset Acquisition

The 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.

Training

PhysioNet12

python train.py \
  --data-root /path/to/PhysioNet12 \
  --device cuda \
  --seed 0

P12

python train.py \
  --data-root /path/to/P12 \
  --device cuda \
  --seed 0

P19

python train.py \
  --data-root /path/to/P19 \
  --device cuda \
  --seed 0

eICU

python train.py \
  --data-root /path/to/eICU \
  --device cuda \
  --seed 0

MIMIC4

python train.py \
  --data-root /path/to/MIMIC4 \
  --device cuda \
  --seed 0

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages