souvlasvegas / EEG-DICE-net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Alzheimers Project

Transformer NN Alzheimer's

In this project, a Dual Input Convolution Encoder Network (DICE-net) model is created for the classification of EEG signals of Alzheimer's patients for the paper:

to be filled when published

The project is consisted of the packages: 1) feature_extraction, 2) machine_learning.
The folder paper_related_code was for visualization purposes, not structured and you should ignore it

Feature Extraction

The preprocessing was performed in EEGLAB matlab. Save files in .set format and run dataset_creation.py to create dataset. The whole process is dependent to the naming of the files (in our case, .set file was named as A1.set, A2.set, C5.set etc). If you want to use it with other naming system, please modify accordingly. To reproduce, create environment based on environment.yml file.

This package creates dataset of extracted Relative Band Power and Spectral Coherence Connectivity features. Check docstring documentation for more information.

Machine Learning

The model was implemented in PyTorch. To reproduce, create environment based on environment.yml file (different from the Feature Extraction yml).

The model takes a .pkl file as input. To reproduce, use AlzheimerTrainingDatasetDemo.pkl. Full dataset cannot be uploaded due to Ethics Restrictions. For full documentation of the model, go to the published journal article.

About

License:Creative Commons Zero v1.0 Universal


Languages

Language:Python 100.0%