Giter Site home page Giter Site logo

peterlipan / asd_gp_gcn Goto Github PK

View Code? Open in Web Editor NEW
37.0 2.0 8.0 518 KB

ASD diagnosis on ABIDE I

License: MIT License

Python 100.00%
autism autism-spectrum-disorder fmri-data-analysis fmri abide abide-data autism-brain graph-neural-networks machine-learning classification

asd_gp_gcn's Introduction

Identifying Autism Spectrum Disorder Based on Individual-Aware Down-Sampling and Multi-Modal Learning

This is the GitHub repository for our paper: Identifying Autism Spectrum Disorder Based on Individual-Aware Down-Sampling and Multi-Modal Learning

Requirements

torch == 1.8.1+cu102

torch-cluster == 1.5.9

torch-geometric == 1.7.0

torch-scatter == 2.0.7

torch-sparse == 0.6.10

sklearn

nilearn

Install torch-geometric:

pip install torch-scatter -f https://data.pyg.org/whl/torch-1.8.1+cu102.html
pip install torch-sparse -f https://data.pyg.org/whl/torch-1.8.1+cu102.html
pip install torch-cluster -f https://data.pyg.org/whl/torch-1.8.1+cu102.html
pip install torch-geometric

Download ABIDE I dataset

python download_ABIDE.py

This script will automatically download ABIDE I dataset preprocessed by CPAC and construct the graph representation of the brain imaging. After downloading, the raw data (i.e. fMRI) will be deleted. The graph representation of brain will be saved at './data/ABIDE/'.

Run the diagnosis framework

Run the framework:

python main.py

main.py includes:

  1. The unsupervised graph pooling. The results will by default be saved to /data/ABIDE_downsample/.
  2. Training phase of the MLP under nested 10-fold cross-validation
  3. Use the best model from the trained MLP to extract the further learned features from pooling results under the same cross-validation of 2.
  4. train/test classifiers under the same cross-validation of 2.

Evaluation

python visualize.py --roc

will plot the ROC curve and confusion matrix for the framework using the classification results saved to /results/

image-roc

Visualization

python visualize.py --embedding --group=gender

will compare the 2D distribution difference between the features learned by MLP and the node embeddings later learned by GCN and renders the nodes according to different groups (gender, age, site). The parameter --group could be 'gender', 'site', or 'age'.

image-embedding

Citation

@article{pan2021identifying,
  title={Identifying Autism Spectrum Disorder Based on Individual-Aware Down-Sampling and Multi-Modal Learning},
  author={Pan, Li and Liu, Jundong and Shi, Mingqin and Wong, Chi Wah and Chan, Kei Hang Katie},
  journal={arXiv preprint arXiv:2109.09129},
  year={2021}
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.