# Multimodal Attention for Alzheimer's Disease Classification
Code for the paper [Multimodal Attention-based Deep Learning for Alzheimer's Disease Diagnosis](https://academic.oup.com/jamia/advance-article/doi/10.1093/jamia/ocac168/6712292).
## Dataset
We provide results on the [Alzheimer's Disease Neuroimaging Initiative (ADNI) dataset](https://adni.loni.usc.edu/). The data is not provided in this repository and needs to be requested directly from ADNI.
## Requirements:
Python 3.7.4 (and above)
Tensorflow 2.6.0
Further details on all packages used in this repository can be found in general/requirements.txt
## Description
In this work, we presented a multi-modal, multi-class, attention-based deep learning framework to detect Alzheimer's disease using genetic, clinical, and imaging data from ADNI.
<img src="https://user-images.githubusercontent.com/35315239/187262625-0f980b94-7cce-49ec-9041-421e56b67ecd.png" width="600">
This repository contains the code for the mentioned paper. The model architecture above is located in training/train_all_modalities.py.
## Preprocessing
To create a list of patient IDs with their diagnosis, run the notebook general/diagnosis_making.ipynb.
To preprocess clinical data run the notebook preprocess_clincal/create_clinical_dataset.ipynb, which will create a CSV file with the necessary data.
The CSVs used in the scripts above need to be obtained from ADNI directly and are thus not included with the notebooks.
To preprocess imaging data, first run preprocess_images.py with the directory where images are stored as the argument. Then, use the file created from the script to run the notebook in preprocess_images/splitting_image_data.ipynb to split your data into training and testing.
To preprocess genetic data (SNPs), first obtain VCF files from ADNI. Then use the vcftools package to filter the files based on your chosen criteria (Hardy-Weinberg equilibrium, genotype quality, minor allele frequency, etc.). To further filter the VCF files according to the AD-related genes from AlzGene Database (http://www.alzgene.org/), run filter_vcfs.py script. Next, to compile all the genetic files together run concat_vcfs.py. Finally, to further reduce the number of features, run the notebook create_genetic_dataset.ipynb. All scripts can be found in the preprocess_genetic folder.
## Training and Evaluation
To train and evaluate a uni-modal model baseline, run train_clinical.py, train_genetic.py, or train_imaging.py.
To train and evaluate the multimodal architecture, run train_all_modalities.py.
## Credits
Some of the structure in this repo was adopted from https://github.com/soujanyaporia/contextual-multimodal-fusion
## Authors
[Michal Golovanevsky](https://github.com/michalg04)
AI拉呱
- 粉丝: 2873
- 资源: 5510
最新资源
- springboot基于hive旅游数据的分析与应用4x1c2--论文.zip
- 195ssm饭店餐饮管理系统hsg6034AHA5程序.rar
- 基于python计算两文档间四大文本相似性指标源码-支持中文和英文文本的相似性分析.zip
- springboot289基于JAVA的房地产销售管理系统的设计与实现.rar
- An introduction to Numpy and Scipy.pdf
- 保护Windows台式机的安全措施及其实施方法
- springboot540公司资产网站--论文pf.zip
- 常用的java系统运行环境
- 一个简易的FTP服务器,在ubuntu的vim上使用C语言写成 .zip
- ssm足球赛会管理系统.zip
- 506旧物置换网站.zip
- weixin210微信小程序自助点餐系统springboot.rar
- numpy-learning-resources.pdf
- 基于stm32和mpu9250的usb hid键盘鼠标游戏控制器.zip
- springboot328在线骑行网站.zip
- 基于SpringMVCSpringMyBatis开发的个人博客网站使用IDEA工具开发毕业设计项目资源F.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈