Application of LSTM Algorithm to Assist Diagnosis of Epilepsy Based on Electroencephalogram (EEG) Signals
Abstract
Epilepsy is a common disease that affects the brain's ability and has the potential to destroy the quality of life of sufferers. Diagnosis of epilepsy can be done by clinical testing and by using the electroencephalography (EEG) method. This research aims to apply artificial intelligence to improve the effectiveness and accuracy of EEG signal analysis. Epilepsy diagnosis is done automatically based on trained EEG signal files. This application can be done by applying the Long-Short Term Memory (LSTM) machine learning algorithm for recognizing patterns from brain signals that lead to epilepsy. The development was carried out using the EEG signal dataset from the University of Bonn which consists of 5 data sets. The detection process consists of the stages of data loading, augmentation, filtering, training, and classification. The developed system will be loaded into a GUI to facilitate users. The result of this research is a machine learning model with Long Short-Term Memory (LSTM) algorithm that has an accuracy rate of 91%, validation accuracy of 94% and loss of 0.2. Compared to other machine learning approaches such as SVM, KNN, and ANN, the proposed method achieves higher accuracy without the need for explicit feature extraction, highlighting its effectiveness in time-series signal classification. The model evaluation results show that this research is successful in assisting the detection of epilepsy using EEG signals with a high level of accuracy and efficiency.
Full Text:
PDFReferences
C. E. Stafstrom and L. Carmant, “Seizures and epilepsy: an overview for neuroscientists.,” Cold Spring Harb. Perspect. Med., vol. 5, no. 6, Jun. 2015, doi: 10.1101/cshperspect.a022426.
H. Anwar, Q. U. Khan, N. Nadeem, I. Pervaiz, M. Ali, and F. F. Cheema, “Epileptic seizures.,” Discov. (Craiova, Rom., vol. 8, no. 2, p. e110, Jun. 2020, doi: 10.15190/d.2020.7.
A. Arianda, “Peran Usia Awitan Kejang dalam Epilepsi Intraktabel pada Pasien Epilepsi,” J. Penelit. Perawat Prof. Vol. 3, vol. 3, no. 3, pp. 471–475, 2021.
G. A. Light et al., “Electroencephalography (EEG) and event-related potentials (ERPs) with human participants.,” Curr. Protoc. Neurosci., vol. Chapter 6, p. Unit 6.25.1-24, Jul. 2010, doi: 10.1002/0471142301.ns0625s52.
Y. Sugianela, Q. L. Sutino, and D. Herumurti, “Eeg Classification for Epilepsy Based on Wavelet Packet Decomposition and Random Forest,” J. Ilmu Komput. dan Inf., vol. 11, no. 1, p. 27, 2018, doi: 10.21609/jiki.v11i1.549.
A. A. Ningrum, I. Syarif, A. I. Gunawan, E. Satriyanto, and R. Muchtar, “Algoritma Deep Learning-LSTM untuk Memprediksi Umur Transformator,” J. Teknol. Inf. dan Ilmu Komput., vol. 8, no. 3, 2021, doi: 10.25126/jtiik.2021834587.
A. S. Bayangkari Karno, “Analisis Data Time Series Menggunakan LSTM (Long Short Term Memory) Dan ARIMA (Autocorrelation Integrated Moving Average) Dalam Bahasa Python.,” Ultim. InfoSys J. Ilmu Sist. Inf., vol. 11, no. 1, 2020, doi: 10.31937/si.v9i1.1223.
R. G. Andrzejak, K. Lehnertz, F. Mormann, C. Rieke, P. David, and C. E. Elger, “Indications of nonlinear deterministic and finite-dimensional structures in time series of brain electrical activity: Dependence on recording region and brain state,” Phys. Rev. E - Stat. Physics, Plasmas, Fluids, Relat. Interdiscip. Top., vol. 64, no. 6, p. 8, 2001, doi: 10.1103/PhysRevE.64.061907.
I. Basyar, Adiwijaya, and D. T. Murdiansyah, “Email spam classification using gated recurrent unit and long short-term memory,” J. Comput. Sci., vol. 16, no. 4, 2020, doi: 10.3844/JCSSP.2020.559.567.
G. Cheng, V. Peddinti, D. Povey, V. Manohar, S. Khudanpur, and Y. Yan, “An exploration of dropout with LSTMs,” in Proceedings of the Annual Conference of the International Speech Communication Association, INTERSPEECH, 2017. doi: 10.21437/Interspeech.2017-129.
M. S. Farooq, A. Zulfiqar, and S. Riaz, “Epileptic Seizure Detection Using Machine Learning: Taxonomy, Opportunities, and Challenges,” 2023. doi: 10.3390/diagnostics13061058.
D. Chen, S. Wan, J. Xiang, and F. S. Bao, “A high-performance seizure detection algorithm based on Discrete Wavelet Transform (DWT) and EEG,” PLoS One, vol. 12, no. 3, 2017, doi: 10.1371/journal.pone.0173138.
M. D. Zeiler and R. Fergus, “Visualizing and Understanding Convolutional Networks BT - Computer Vision–ECCV 2014,” in European Conference on Computer Vision (ECCV), vol. 8689, no. Chapter 53, 2014.
J. Rabcan, V. Levashenko, E. Zaitseva, and M. Kvassay, “EEG Signal Classification Based on Fuzzy Classifiers,” IEEE Trans. Ind. Informatics, vol. 18, no. 2, 2022, doi: 10.1109/TII.2021.3084352.
Refbacks
- There are currently no refbacks.