NYUMedML/GNN_for_EHR
关于
《基于电子健康记录的图神经网络用于预测阿尔茨海默病》一文的代码
系统与基础设施实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Variationally Regularized Graph-based Representation Learning for Electronic Health Records
This repository contains the code for the paper Variationally Regularized Graph-based Representation Learning for Electronic Health Records.
Introduction
In this paper, we design a novel graph-based model to generalize the ability of learning implicit medical concept structures to a wide range of data source, including short-term ICU data and long-term outpatient clinical data.We introduce variational regularization for node representation learning, addressing the insufficiency of self-attention in graph-based models, and difficulties of manually constructing knowledge graph from real-world noisy data sources. The novelty of our work is to enhance the learning of attention weights in GNN via regularization on node representations. Besides obtaining better performances in different predictive tasks, we also provide interpretation on the effect of variational regularization in graph neural networks using singular value analysis, and bridge the connection between singular values and representation clustering.
Model Training
Prerequisites
Required packages can be installed on python3.6 environment via command:
pip3 install -r requirements.txt
Nvidia GPU with Cuda 10.0 are required for training models.
Data
The preprocessing tools that extracts medical code for datasets are enclosed in data. Run the command:
python3 preprocess_{dataset}.py --input_path {dataset_path} --output_path {storage_path}
Train
GNN for EHR on predicting disease outcomes can be train by running command:
python3 train.py --data_path {storage_path} --embedding_size 512 --result_path {model_path}
Architecture
探索相关项目
加载中…