NeuroSyd / seizure-prediction-CNN

GNU Affero General Public License v3.0
42 stars 13 forks source link
convolutional-neural-networks seizure-prediction

Convolutional neural networks for seizure prediction using intracranial and scalp electroencephalogram

Code to reproduce results reported in our paper published as:

Truong, N. D., A. D. Nguyen, L. Kuhlmann, M. R. Bonyadi, J. Yang, S. Ippolito, and O. Kavehei (2018). "Convolutional neural networks for seizure prediction using intracranial and scalp electroencephalogram." Neural Networks 105, 104-111. DOI:10.1016/j.neunet.2018.04.018.

Requirements

How to run the code

  1. Set the paths in *.json files. Copy files in folder "copy-to-CHBMIT-folder" to your CHBMIT dataset folder.

  2. Run the code

    python main.py --mode MODE --dataset DATASET
    where:
    • MODE: cv, test
    • cv: leave-one-seizure-out cross-validation
    • test: ~1/3 of last seizures used for test, interictal signals are split accordingly
    • DATASET: FB, CHBMIT, Kaggle2014Pred