Git Product home page Git Product logo

mkfzdmr / epileptic-eeg-classfication-using-deep-learning Goto Github PK

View Code? Open in Web Editor NEW
16.0 2.0 3.0 296 KB

This repository contains the trained deep learning models for the detection and prediction of Epileptic seizures.

License: MIT License

eeg seizure-prediction seizure seizure-detection cnn deep-learning trained-models trained-weights convolutional-neural-networks syncro-squeezing

epileptic-eeg-classfication-using-deep-learning's Introduction

Epileptic EEG Classification by Using Time-Frequency Images for Deep Learning

Ozdemir, M. A. et al. (2021). Epileptic EEG Classification by Using Time-Frequency Images for Deep Learning, International Journal of Neural Systems.

Abstract

Epilepsy is one of the most common brain disorders worldwide. The most frequently used clinical tool to detect epileptic events and monitor epilepsy patients is the EEG recordings. There have been proposed many computer-aided diagnosis systems using EEG signals for the detection and prediction of seizures. In this study, a novel method based on Fourier-based Synchrosqueezing Transform (SST), which is a high-resolution time-frequency (TF) representation, and Convolutional Neural Network (CNN) is proposed to detect and predict seizure segments. SST is based on the reassignment of signal components in the TF plane which provides highly localized TF energy distributions. Epileptic seizures cause sudden energy discharges which are well represented in the TF plane by using the SST method. The proposed SST-based CNN method is evaluated using the IKCU dataset we collected, and the publicly available CHB-MIT dataset. Experimental results demonstrate that the proposed approach yields high average segment-based seizure detection precision and accuracy rates for both datasets (IKCU: 98.99% PRE and 99.06% ACC; CHB-MIT: 99.81% PRE and 99.63% ACC). Additionally, SST-based CNN approach provides significantly higher segment-based seizure prediction performance with 98.54% PRE and 97.92% ACC than similar approaches presented in the literature using the CHB-MIT dataset.

Keywords: Convolutional Neural Network (CNN), Deep Learning (DL), seizure detection, seizure prediction, segment-based, Synchrosqueezed Transform (SST), time-frequency images.

Content

This repository includes trained models of this work.

Test accuracy score: 99.21% with two clasess and input sizes of 128x128: Model_31

LATEST! Test accuracy score: 99.28% with two clasess and input sizes of 128x128: Model_32

Load The Model Weights in your project

Tutorial: Click

from keras.models import load_model

model = load_model('m32.h5')
model.summary()

Example Model inputs

Figure 1

Figure 21

DOI

https://doi.org/10.1142/S012906572150026X

Citation

Citation is now available. Please cite us by following;

@article{ozdemir2021epilepticEEG,
author = {Ozdemir, Mehmet Akif and Cura, Ozlem Karabiber and Akan, Aydin},
title = {Epileptic EEG Classification by Using Time-Frequency Images for Deep Learning},
journal = {International Journal of Neural Systems},
volume = {31},
number = {08},
pages = {2150026},
year = {2021},
doi = {10.1142/S012906572150026X},
note ={PMID: 34039254},
URL = {https://doi.org/10.1142/S012906572150026X},
publisher={World Scientific}

Cite from World Scientific or Cite from Google Scholar

Contact

If you need any help, feel free to start an issue (preferred because other people can benefit) or send me an email: [email protected]

epileptic-eeg-classfication-using-deep-learning's People

Contributors

mkfzdmr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

epileptic-eeg-classfication-using-deep-learning's Issues

not able to load .h5 file

from keras.models import load_model

model = load_model('m32.h5')
model.summary()

Running the above code in google colab and getting following error.
OSError: Unable to open file (file signature not found)

IS anyone else facing the issue? Can someone help?

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.