| Literature DB >> 35408080 |
Syed Yaseen Shah1, Hadi Larijani2, Ryan M Gibson1, Dimitrios Liarokapis1.
Abstract
Epileptic seizures are caused by abnormal electrical activity in the brain that manifests itself in a variety of ways, including confusion and loss of awareness. Correct identification of epileptic seizures is critical in the treatment and management of patients with epileptic disorders. One in four patients present resistance against seizures episodes and are in dire need of detecting these critical events through continuous treatment in order to manage the specific disease. Epileptic seizures can be identified by reliably and accurately monitoring the patients' neuro and muscle activities, cardiac activity, and oxygen saturation level using state-of-the-art sensing techniques including electroencephalograms (EEGs), electromyography (EMG), electrocardiograms (ECGs), and motion or audio/video recording that focuses on the human head and body. EEG analysis provides a prominent solution to distinguish between the signals associated with epileptic episodes and normal signals; therefore, this work aims to leverage on the latest EEG dataset using cutting-edge deep learning algorithms such as random neural network (RNN), convolutional neural network (CNN), extremely random tree (ERT), and residual neural network (ResNet) to classify multiple variants of epileptic seizures from non-seizures. The results obtained highlighted that RNN outperformed all other algorithms used and provided an overall accuracy of 97%, which was slightly improved after cross validation.Entities:
Keywords: epilepsy; machine learning; random neural network
Mesh:
Year: 2022 PMID: 35408080 PMCID: PMC9002775 DOI: 10.3390/s22072466
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Figure 1EEG-focused data pre-processing and feature extraction using the RNN algorithm.
Figure 2Deep RNN model for different types of epilepsy detection and classification.
Detail structure of the CNN architecture used in this research.
| Type of Layer | Output Shape | Parameters |
|---|---|---|
| conv 2d (Conv2D) | (None, 12, 493, 32) | 2080 |
| dropout (Dropout) | (None, 12, 493, 32) | 0 |
| conv2d 1 (Conv2D) | (None, 8, 489, 64) | 51,264 |
| dropout 1 (Dropout) | (None, 8, 489, 64) | 0 |
| conv2d 2 (Conv2D) | (None, 6, 487, 64) | 36,928 |
| dropout 2 (Dropout) | (None, 6, 487, 64) | 0 |
| flatten (Flatten) | (None, 187,008) | 0 |
| dense (Dense) | (None, 32) | 5,984,288 |
| dropout 3 (Dropout) | (None, 32) | 0 |
| dense 1 (Dense) | (None, 4) | 132 |
Parameters used for training the deep ResNet algorithm.
| Algorithm | Parameters |
|---|---|
| ResNet epochs | 20 |
| activation function | relu |
| optimizer | adam |
| loss | categorical-crossentropy |
Figure 3The architecture of the enhanced ResNet algorithm used in this work for epilepsy detection.
Figure 4TP, TN, FP, and FN illustration using a confusion matrix.
Figure 5The ERT report in terms of a confusion matrix for four classes presenting epileptic seizures.
Accuracy, precision, recall, and F1-Score obtained by the ERT model.
| Type of Seizure | Accuracy | Precision | Recall | F1-Score |
|---|---|---|---|---|
| Normal (No seizure) | 83.26% | 81.26% | 95.40% | 89.52% |
| Complex Partial | 90.91% | 89.51% | 79.24% | 84.74% |
| Electrographic seizures | 92.50% | 92.84% | 55.32% | 67.31% |
| Video-detected with no visual change | 100% | 100.00% | 13.23% | 29.30% |
Accuracy, Precision, Recall, F1-Score and Accuracy obtained by CNN model.
| Type of Seizure | Accuracy | Precision | Recall | F1-Score |
|---|---|---|---|---|
| Normal (No Seizure) | 97.40% | 93.75% | 97.36% | 95.52% |
| Complex Partial | 90.00% | 95.24% | 89.97% | 92.53% |
| Electrographic | 91.20% | 98.41% | 91.18% | 94.66% |
| Video-detected with no visual change | 100.0% | 100% | 100% | 100% |
Figure 6Confusion matrix for CNN-based epilepsy detection.
Accuracy, precision, recall, and F1-Score obtained by the RNN model.
| Type of Seizure | Accuracy | Precision | Recall | F1-Score |
|---|---|---|---|---|
| Normal (No seizure) | 95.27% | 93.76% | 97.60% | 95.64% |
| Complex Partial | 95.65% | 95.37% | 92.73% | 94.04% |
| Electrographic seizures | 99.49% | 98.48% | 95.59% | 97.01% |
| Video-detected with no visual change | 100.0% | 100.00% | 100.00% | 100.00% |
Accuracy, precision, recall, and F1-Score obtained by the RNN model after cross validation.
| Type of Seizure | Accuracy | Precision | Recall | F1-Score |
|---|---|---|---|---|
| Normal (No seizure) | 95.42% | 93.78% | 97.84% | 95.64% |
| Complex Partial | 95.91% | 95.41% | 93.43% | 94.04% |
| Electrographic seizures | 99.61% | 98.51% | 95.59% | 97.01% |
| Video-detected with no visual change | 100.0% | 100.00% | 100.00% | 100.00% |
Figure 7Confusion matrix for RNN-based epilepsy detection.
Overall Accuracy, Precision, Recall, and F1-Score.
| Classification Method | Accuracy | Precision | Recall | F1-Score |
|---|---|---|---|---|
| ResNet | 96.1% | 99.5% | 94.3% | 96.3% |
| RNN | 97.6% | 96.9% | 96.48% | 96.7% |
| ERT | 86% | 96.4% | 61.9% | 70% |
| CNN | 94% | 96.9% | 94.6% | 95.7% |