Skip to main content

A GUI-based toolkit for building, training, and optimizing graph neural networks for brain graph analysis

Project description

BrainGraphStudio

An AutoML ToolKit for Classification of Static Functional Brain Graphs

Developed for Atrium Health's Laboratory for Complex Brain Networks

Developer: Berk Yalcinkaya

PyPI version Downloads Downloads Python version License: GPL v3 Contributors repo size GitHub stars GitHub forks

Overview

BrainGraphStudio is a GUI-based tool for training, building, and optimizing BrainGNN[1] or BrainGB[2] graph neural networks.

Install Instructions

BrainGraphStudio can be installed for CPU or GPU usage as follow. To download:

  1. Install an Anaconda distribution of Python. Note you might need to use an anaconda prompt if you did not add anaconda to the path.
  2. Open an anaconda prompt/command prompt
  3. If you have an older bgs environment you should remove it with conda env remove -n bgs before creating a new one.
  4. Create a new environment with conda create --name bgs python=3.9.0.
  5. Activate this new environment by running conda activate bgs
  6. To download our package plus all dependencies, run python -m pip install BrainGraphStudio[gpu] on Windows and python3 -m pip install BrainGraphStudio[gpu] on Linux, Ubuntu, and Mac OS. Replace gpu with cpu if you intend to run BrainGraphStudio without GPU. Note, on terminals running zhs, you might need to include the \ escape char before the brackets, as follows: BrainGraphStudio\[gpu\] or BrainGraphStudio\[cpu\]

Next, run the following commands:

pip install torch-scatter==2.0.8
pip install torch-sparse==0.6.12
pip install torch-spline-conv==1.2.1
pip install torch-geometric==2.0.4

Running BrainGraphStudio

To run BrainGraphStudio, open the terminal, activate your bgs conda environment and run the following command

bgs

This should open the UI window and prompt you to load your data, configure the model architecture, and define hyperparameters

References

[1] Xiaoxiao Li, Yuan Zhou, Nicha Dvornek, Muhan Zhang, Siyuan Gao, Juntang Zhuang, Dustin Scheinost, Lawrence H. Staib, Pamela Ventola, James S. Duncan, BrainGNN: Interpretable Brain Graph Neural Network for fMRI Analysis, Medical Image Analysis, Volume 74, 2021, 102233, ISSN 1361-8415, https://doi.org/10.1016/j.media.2021.102233.

[2] Cui, H., Dai, W., Zhu, Y., Kan, X., Chen Gu, A. A., Lukemire, J., Zhan, L., He, L., Guo, Y., & Yang, C. (2022). BrainGB: A Benchmark for Brain Network Analysis with Graph Neural Networks. IEEE Transactions on Medical Imaging (TMI).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

braingraphstudio-0.1.4.tar.gz (35.8 kB view details)

Uploaded Source

File details

Details for the file braingraphstudio-0.1.4.tar.gz.

File metadata

  • Download URL: braingraphstudio-0.1.4.tar.gz
  • Upload date:
  • Size: 35.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.0

File hashes

Hashes for braingraphstudio-0.1.4.tar.gz
Algorithm Hash digest
SHA256 e8e5f4b6df6a64208b70296b4502fd4e2cca35dbcfd8fd9efba37f3356865152
MD5 47b27b27de13d8e38f57419291550637
BLAKE2b-256 4bdf38cd0507ae95c3912f8ca6198219cdaf1faf4cb1b6bc3537688ca6451094

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page