Next Article in Journal
COVID-19-Related Scientific Literature Exploration: Short Survey and Comparative Study
Next Article in Special Issue
SGCNCMI: A New Model Combining Multi-Modal Information to Predict circRNA-Related miRNAs, Diseases and Genes
Previous Article in Journal
Assessing the Effectiveness of Correlative Ecological Niche Model Temporal Projection through Floristic Data
Previous Article in Special Issue
Hybrid Deep Learning Approach for Automatic Detection in Musculoskeletal Radiographs
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Intelligent Epileptic Seizure Detection and Classification Model Using Optimal Deep Canonical Sparse Autoencoder

by
Anwer Mustafa Hilal
1,*,
Amani Abdulrahman Albraikan
2,
Sami Dhahbi
3,
Mohamed K. Nour
4,
Abdullah Mohamed
5,
Abdelwahed Motwakel
1,
Abu Sarwar Zamani
1 and
Mohammed Rizwanullah
1
1
Department of Computer and Self Development, Preparatory Year Deanship, Prince Sattam Bin Abdulaziz University, AlKharj 16278, Saudi Arabia
2
Department of Computer Sciences, College of Computer and Information Sciences, Princess Nourah bint Abdulrahman University, P.O. Box 84428, Riyadh 11671, Saudi Arabia
3
Department of Computer Science, College of Science & Art at Mahayil, King Khalid University, Abha 62529, Saudi Arabia
4
Department of Computer Sciences, College of Computing and Information System, Umm Al-Qura University, Makkah 24382, Saudi Arabia
5
Research Centre, Future University in Egypt, New Cairo 11745, Egypt
*
Author to whom correspondence should be addressed.
Biology 2022, 11(8), 1220; https://doi.org/10.3390/biology11081220
Submission received: 29 May 2022 / Revised: 22 July 2022 / Accepted: 12 August 2022 / Published: 15 August 2022
(This article belongs to the Special Issue Advanced Computational Models for Clinical Decision Support)

Abstract

:

Simple Summary

Epileptic seizures are a chronic and persistent neurological illness that mainly affects the human brain. Since the traditional way of diagnosing epileptic seizures is laborious and time-consuming, automated tools using machine learning (ML) and deep learning (DL) models may be useful. This paper presents an intelligent deep canonical sparse autoencoder-based epileptic seizure detection and classification (DCSAE-ESDC) model using EEG signals. The proposed DCSAE-ESDC technique involves two major processes, namely, feature selection and classification. The DCSAE-ESDC technique designs a novel coyote optimization algorithm (COA)-based feature selection technique for the optimal selection of feature subsets. Moreover, the DCSAE-based classifier is derived for the detection and classification of different kinds of epileptic seizures. Finally, the parameter tuning of the DSCAE model takes place via the krill herd algorithm (KHA).

Abstract

Epileptic seizures are a chronic and persistent neurological illness that mainly affects the human brain. Electroencephalogram (EEG) is considered an effective tool among neurologists to detect various brain disorders, including epilepsy, owing to its advantages, such as its low cost, simplicity, and availability. In order to reduce the severity of epileptic seizures, it is necessary to design effective techniques to identify the disease at an earlier stage. Since the traditional way of diagnosing epileptic seizures is laborious and time-consuming, automated tools using machine learning (ML) and deep learning (DL) models may be useful. This paper presents an intelligent deep canonical sparse autoencoder-based epileptic seizure detection and classification (DCSAE-ESDC) model using EEG signals. The proposed DCSAE-ESDC technique involves two major processes, namely, feature selection and classification. The DCSAE-ESDC technique designs a novel coyote optimization algorithm (COA)-based feature selection technique for the optimal selection of feature subsets. Moreover, the DCSAE-based classifier is derived for the detection and classification of different kinds of epileptic seizures. Finally, the parameter tuning of the DSCAE model takes place via the krill herd algorithm (KHA). The design of the COA-based feature selection and KHA-based parameter tuning shows the novelty of the work. For examining the enhanced classification performance of the DCSAE-ESDC technique, a detailed experimental analysis was conducted using a benchmark epileptic seizure dataset. The comparative results analysis portrayed the better performance of the DCSAE-ESDC technique over existing techniques, with maximum accuracy of 98.67% and 98.73% under binary and multi-classification, respectively.

1. Introduction

Epilepsy is inevitably known to be the most persistent and critical neurological disorder that affects the brain of the human body [1]. It has spread to around fifty million persons of different age groups around the world, with nearly 450,000 persons below the age of 17 out of approximately three million people in the US affected by this disease. Epilepsy is described by its recurring, unprovoked seizures [2]. A seizure is a period of anomalous, synchronous innervation of a population of neurons that may last from a few seconds to minutes. At a molecular level, several pathways were implicated in the apoptosis of premyelinating oligodendrocytes or subplate neurons that exist in perinatal brain growth. A rising concentration of glutamate or free radical reactive species in hypoxic-ischemic encephalopathy, inflammatory cytokines such as TNF-α, IL-1b, IL-6, 12, 15, and 18 from activated microglia and astrocytes, low pH in infections, and free iron secondary to cerebral hemorrhage were broadly stated in both white- and grey-matter injuries as significant triggers for epileptic events [3,4]. An epileptic seizure is an ephemeral instance of complete or partial abnormal, unintended movement of the body that may be integrated with a loss of consciousness [5,6]. Even though epileptic seizures rarely occur in every person, their subsequent effect on social interaction, physical communication, and patient emotion makes the diagnosis and treatment of epileptic seizure of ultimate consequence [7].
Electroencephalograms (EEGs), which have existed for years, are widely employed amongst neurologists to detect different kinds of brain disorders, and especially [8] epilepsy. The wide use of EEG is attributable to possible reasons including its low cost, availability, and effortlessness. EEG is an effective, non-invasive diagnosis method since we can make use of it to accurately denote and capture epileptic signals, i.e., those described by spike-and-wave patterns, sharp waves, or spike difficulties [9,10]. By a visual interpretation of the recorded EEG signal, neurologists can considerably differentiate normal brain activities between seizures (interictal) and epileptic brain activities at the time of seizure (ictal). In the past few years, a large amount of automatic EEG-based epilepsy diagnosis research was conducted [11]. This was inspired by the time-consuming and exhausting nature of the human visual system that is mainly based on medical experts. Moreover, the necessity for effective, objective, and rapid schemes to process large numbers of EEG records has become inevitable to reduce the possibilities of misinterpretation. The availability of this system will considerably improve the living standards of epileptic patients [12].
Epilepsy diagnosis with EEG signal is strenuous and time-consuming since the neurologist or epileptologist needs to minutely screen the EEG signal [13]. In addition, there is a chance of human error, and thus, designing computer-based diagnoses may reduce this problem. Several machine learning (ML) methods were introduced using nonlinear, statistical, and frequency-domain parameters to diagnose epileptic seizures [14]. In traditional ML methods, the classifiers and features selection are obtained using a trial-and-error technique. Likewise, one must have sound knowledge of data mining and signal processing to design an effective method [15]. This method performs well for a small amount of information. Currently, with an increasing amount of data, an ML technique may not work effectively. Therefore, DL methods, that is, an advanced methodology, have been used.
In Almustafa [16], epileptic seizure dataset classification was performed using various classifications. It has been demonstrated that the random forest (RF) method outperforms k-nearest neighbor (KNN), naïve Bayes (NB), logistic regression (LR), decision tree (DT), random tree (RT), J48, and stochastic gradient descent (SGD) classification models. Usman et al. [17] present a method that offers a reliable technique of feature extraction and preprocessing. This method forecasts epileptic seizure with adequate time before the onset of seizure begins and provides a true positive rate. They employed empirical mode decomposition (EMD) for pre-processing and extracted frequency-domain and time features to train a predictive method. The presented method identities the initiation of the preictal state.
In Janghel et al. [18], ANN methods such as back propagation network (BPA), learning vector quantization (LVQ), recurrent neural network (RNN), probabilistic neural network (PNN), and competitive learning (CL) were performed. A primary dataset was used for assessing the presented model. The presented model is able to achieve 97.5% accuracy; the higher accuracy attained confirmed the considerable achievement of the technique. Qureshi et al. [19] aimed at extracting the distinguishing and discriminating features of seizure EEG records to design a model that applies ML and fuzzy-based models for the recognition of epileptic seizures. The presented model categorizes unknown EEG signals into interictal and ictal classes. The method was supported by an empirical assessment on two standard datasets.
Aileni et al. [20] proposed various aspects regarding the detection of epileptic seizures using an EEG signal classification-based supervised learning model with a related learning model that analyzes information. To identify epileptic seizures, a support vector machine (SVM) method was utilized. The SVM method is determined formally by separating hyperplane-based training data (supervised learning), and the model output represents the optimum hyperplane. Abdelhameed and Bayoumi [21] introduce a DL method for seizure detection in pediatric patient-based classification of raw multi-channel EEG signals, i.e., minimally pre-processed signals. The novel technique makes use of the automated feature-learning abilities of a 2D deep convolutional autoencoder (2D-DCAE) connected to neural network (NN)-based classifiers to construct a unified model.
Gao et al. [22] proposed DL-based classifier methods such as epileptic EEG signal classification (EESC). First, this method converts EESC to a power spectrum density energy diagram (PSDED), then exploits deep convolutional neural network (DCNN) and transfer learning (TL) methods for automatically extracting features from the PSDED, and lastly categorizes four classes of epileptic states (seizure, interictal, preictal duration to thirty minutes, and preictal duration to ten minutes). Sarić et al. [23] projected a Field Programmable Gate Array (FPGA)-based solution to classify generalized and focal epileptic seizure types by the use of feed-forward multilayer artificial neural network architecture (MLP ANN).
The authors in [24] present a cloud-fog integrated smart neurocare model that carries out a temporal investigation of input EEG signals through the use of DL models for epileptic seizure detection. The authors in [25] developed a DL model for epileptic seizure detection on intracranial EEG (iEEG) recordings. This framework performs filtering and segmentation of iEEG signals. At last, the convolutional neural network (CNN) and long short-term memory (LSTM) models are applied for classification. Anter et al. [26] introduced a new epileptic seizure recognition model in the IoT environment, including a hybrid genetic whale optimization algorithm (GWOA) based on naïve Bayes (NB-GWOA) for feature selection, and an adaptive extreme learning machine (ELM) based on a differential evolutionary (DE) algorithm (DEELM) for classification. The authors in [27] developed an epileptic seizure detection and classification model using short-time Fourier transform (STFT)-based denoising, wavelet transform (WT), and a multilayer perceptron neural network (MLPNN) classifier. In [28], the authors initially decomposed the EEG signals through the use of empirical wavelet transform (EWT) with Fourier–Bessel series expansion (FBSE), called FBSE-EWT. In addition, entropy-based features are used, which are then sorted depending upon the p-values attained from the Kruskal–Wallis statistical test to reduce feature space.
Various classification models have been available in the literature to detect and classify epileptic seizures using EEG signals. Despite the benefits of ML and DL models available in the literature, it is required to further improve the classification efficiency. Because of incessant deepening of the model, the number of parameters of DL models also increases rapidly, which leads to model overfitting. On the other hand, several hyperparameters have a considerable influence on the performance of the CNN models. In particular, hyperparameters such as epoch count, batch size, and learning rate selection are essential to attain an effectual outcome. Since the trial-and-error method for hyperparameter tuning is a tedious and erroneous process, metaheuristic algorithms can be applied. Therefore, in this work, we employ a KHA algorithm for the parameter selection of the DSSAE model.
This paper presents an intelligent deep canonical sparse autoencoder-based epileptic seizure detection and classification (DCSAE-ESDC) model using EEG signals. The proposed DCSAE-ESDC model designs a novel coyote optimization algorithm (COA)-based feature selection model for the optimal selection of feature subsets. In addition, the DCSAE-based classifier is derived for the detection and classification of different kinds of epileptic seizures. Moreover, the parameter tuning of the DSCAE model takes place via the krill herd algorithm (KHA). The intelligent DCSAE-ESDC model consisting of data pre-processing, COA-based feature selection, DCSAE-based classification, and KHA-based parameter tuning is presented. To the best of our knowledge, the ODTLD-CABCC model has been never presented in the literature. The design of the COA-based feature selection and KHA-based parameter tuning shows the novelty of the work. The performance validation of the DCSAE-ESDC model takes place against the benchmark epileptic seizure recognition dataset.

2. The Proposed Model

In this study, an effective DCSAE-ESDC model was derived for the identification and classification of epileptic seizures using EEG signals. The proposed DCSAE-ESDC model encompasses several stages of operations, namely, data pre-processing, COA-based feature selection, DCSAE-based classification, and KHA-based parameter tuning. The utilization of a COA-based feature selection approach helps to eliminate the curse of dimensionality problems and enhances the classification results. Figure 1 depicts the overall block diagram of the DCSAE-ESDC model.

2.1. Data Pre-Processing

At the initial stage, the EEG signals are pre-processed to improve the signal quality. Initially, minimal–maximal (min-max) method is applied to normalize the dataset. Then, the lower and higher values from the set of information are taken into account. Each piece of information undergoes normalization to this value. The aim is to normalize the maximal value to one and the minimal value to zero, as well as assign other values within [0, 1]. The process of min-max normalization is defined by Equation (1).
M i n M a x .   N o r m = x x m i n x m a x x m i n  
Finally, the class-labelling process is performed, where the instance in the EEG signal dataset is allotted to proper class labels, with 0, 1, 2, 3, 4 allotted to multi-class and 0, 1 to binary class.

2.2. Process Involved in the COA-Based Feature Selection Technique

After the stage of data pre-processing, the COA is applied to derive an optimal subset of features. The COA is inspired by the dynamic nature of the coyote in an environment and the communication experience of the coyotes [29]. The coyote population can be divided into an equal number of coyotes in every pack. The position of the coyotes is considered an effective solution, and the social state defines the major intention. Initially, the COA starts with the random initiation of coyote locations using Equation (2):
X i = l b i + r i × ( u b i l b )  
where u b i and l b i represent the maximum and minimum bounds, r i denotes the arbitrary number in [0, 1], and X i represents the location of a coyote. Here, the coyote count for each group is limited to 14, and it verifies the searching capability of the COA. The optimal coyotes can be computed as the optimal ones varied to the environment, followed by the optimum one being considered as the one with the least cost function. In the COA, the coyotes are arranged by contribution to group maintenance and to share the social condition [30]. The social behavior of the group can be determined using Equation (3):
Y i p , t = { C N c + 1 2 p , t ,   N c   i s   o d d C ( N c 2 + 1 ) , i p , t 2 ,   O t h e r w i s e
where N c denotes coyote count, Y i p , t signifies the social tendency of the p th pack from the t th time, and C implies the coyote ordered social state. Based on birth and death, the birth of novel coyotes can be determined using Equation (4):
B i p , t = { X r 1 , i p , t ,   r j P r s + P r a   o r   i = i 1 X r 2 , i p , t ,   r i < P r s   o r   i = i 2 R i ,   O t h e r w i s e
where i 1 and i 2 represent two random dimensions, r 1 and r 2 suggest the two coyotes randomly selected in the p th pack, r i states the random number generated in [0, 1], P r a indicates the connection probability, and P r s shows the scatter probability. P r a and P r s can be determined using Equations (5) and (6):
P r s = 1 D  
P r a = 1 P r s 2  
In every round, every c th coyote from the p th pack upgrades the social state by the use of Equation (7):
X c p , t + 1 = { X c p , t + r 1 × σ 1 + r 2 × σ 2 ,   F c p , t + 1 < F c p , t X c p , t ,   O t h e r w i s e
where σ 1 and σ 2 indicate the alpha and beta pack influence, which is defined using Equations (8) and (9):
σ 1 = a l p h a p , t X r 1 p , t  
σ 2 = Y p , t X r 2 p , t  
where a l p h a p , t represents the alpha coyote. F c p , t . infers the social state cost, which can be determined using Equation (10):
F c p , t + 1 = f ( X c p , t )
Finally, the optimal coyotes can be selected based on the social criteria as the optimal solution obtained from the problem.
The FF of the COA aims to determine a solution for attaining a balance between two purposes that are fixed.
f i t n e s s = α Δ R ( D ) + β | Y | | T |
where Δ R ( D ) represents the classifier error rate. | Y | indicates the size of subset that the approach selects, and | T | signifies the overall number of features contained from the existing dataset. α indicates the variable [ 0 ,   1 ] compared to the weight of error rate of classifiers, respectively, and β = 1 α implies the significance of feande reduction. The classification performance was allowed to reach a significant weight before counting FS. When the evaluation function is able to represent the classification accuracy, the results are void of a solution that is the same as the accuracy; however, it takes the minimal elected feature, which serves as a significant feature to reduce the problem of size.

2.3. Process Involved in DCSAE-Based Classification

At this stage, the chosen features are passed into the DCSAE model for the classification process. In the fundamental viewpoint, the AE is an axisymmetric single hidden-layer NN. The AE encoding input sensor data utilizing the hidden layer estimates the minimal error and attains an optimum-feature hidden-layer term. The model of AE derives from the unsupervised computational model of human perceptual learning, which has many functional flaws, i.e., the AE does not learn some practical features with copy as well as input memory to implicit layers, but it could restructure input data with higher precision. The sparse AE inheritance is a concept of AE and establishes the sparse penalty term, increasing constraints to feature learning to a concise term of input data. The CCA is a technique of searching the correlation amongst two kinds of data; however, it could not search a difficult nonlinear connection. To address the restriction of the CCA technique, Andrew et al. [31] developed a DNN for canonical correlation analysis named deep CCA (DCCA). The DCCA has overcome the restriction of CCA that could not identify difficult nonlinear correlations. In DCCA, two DNNs f and g are learned nonlinear representations of all datasets. The DCCA is reached by maximizing the canonical correlation of two DNNs’ outcomes f ( X ) and g ( Y ) as:
max W f , W g , U , V 1 N t r ( U T f ( X ) g ( Y ) T V )  
s . t .   U T ( 1 N f ( X ) f ( X ) T + r I ) U = I ,
V T ( 1 N g ( Y ) g ( Y ) T + s I ) V = I ,
u i T f ( Y ) g ( Y ) T v j = 0 ,   f o r   i j .
where N implies the entire amount of data, X and Y imply the input matrices of two datasets, I refers to the identity matrix, f and g define the nonlinear representation of two DNNs with parameters W f and W g , correspondingly, U = [ u 1 , , u L ] and V = [ v 1 , , v L ] are the CCA directions that present DNN resultants to the top layer with L unit, and ( r x , r y ) > 0 are the regularized parameters for instant covariance evaluation [32]. U T f ( ) stands for the nonlinear representations that are utilized in the test. The DCCA attains optimum outcomes once it searches the nonlinear mapping of two kinds of data. Sparse AE gains huge successes from seeking nonlinear compact representation of a single dataset. However, the DCCA cannot obtain an effectual nonlinear dimensional decrease, and SAE cannot search the cross-modal data correlation. DCCA is combined with SAE to obtain the optimum representations of two data kinds and a deep canonically correlated sparse autoencoder (DCSAE) that seeks deep network representations of two datasets to maximize the canonical correlation amongst the two removed top features and minimize the reform errors of sparse AE. The DCSAE is determined as:
min W f , W g , U , V 1 N t r ( U T f ( X ) g ( Y ) T V ) + λ N x ( i ) ^ x ( i ) 2   + y ( i ) ¯ y ( i ) 2 + α J K L ( ρ ρ j ^ ) + β J K L ( σ σ ^ k )  
where f and g denote the DNNs utilized for extracting nonlinear features to all datasets but encoding all inputs simultaneously. U = [ u 1 , , u L ] and V = [ v 1 , , v L ] are the CCA directions that present the DNN outcomes to the top layers with L unit. x ( i ) ^ and y ( i ) ^ imply the reform of input x ( i ) and input y ( i ) , correspondingly, and J K L ( ) is determined as J K L   ( ρ ρ j ^ ) = j = 1 S ρ l o g ρ ρ j ^ + ( 1 ρ ) l o g 1 ρ 1 ρ j ^ , where ρ j ^ = 1 N i = 1 N h j ( x ( i ) ) signifies the average activation of these hidden units j , similarly to J K L ( σ σ ^ k ) .

2.4. Parameter Tuning Using KHA

In order to tune the parameters involved in the DCSAE technique, the KHA is applied, thereby boosting the overall classification efficiency. Antarctic krill is the main animal species on Earth. The capability to produce huge swarms is the most important feature of this species. An individual krill will separate from the herd once a predator, namely, seals, whales, and several other species, attack the herd. This attack decreases the density of the KH. The restructuring of the KH following predation affects several parameters. An important objective of the herding performance of krill individuals is to improve krill densities and the realization the food. The KH technique utilizes this multi-objective herd to resolve global optimization issues. To find food (maximum food focus) and density, the dependent attractiveness of the krill is utilized as the objective. Thus, the outcome is that a krill individual changes near optimum solutions once it finds maximum density of herd as well as food. This performance generates a KH near the global minimum of optimized issues [33].
The time-dependent place of individual krill from 2 D surfaces is controlled by three subsequent and important activities.
i.
An effort made by another krill individual;
ii.
Foraging motion;
iii.
Physical or random diffusion.
The subsequent Lagrangian technique generalizes to n dimension decision space:
d X i d t = N i + F i + D i  
where N i refers the movement caused by another krill individual; F i implies the foraging movement; and D i stands for the physical diffusion of the ith krill individual.
The effort of all krill individuals is determined as:
N i n e w = N m a k s α i + ω n N i o l d  
α i = α i l o c a l + α i t a r g e t  
where N m a k s represents the maximal induced speed, and based on the measured values, it could be equal to 0.01 ( m / s ) . ω n implies the inertia weight of movement induced from the range zero and one. α i l o c a l represents the local result provided by neighbors, t a r g e t indicates the destination result provided by an optimum krill individual, and N i o l d implies the preceding induced motion [34]. ω n , the inertia weight, is initially equivalent to 0.9 of the optimized. Afterward, it can be linearly reduced to 0.1. Figure 2 demonstrates the flowchart of the KH technique.
The result of neighbors is considered as the attraction or repulsion tendency amongst the individual to local searches. α i t a r g e t , the target outcome offered by optimum krill individuals, is determined as:
α i t a r g e t = C b e s t K ^ i ,   b e s t X ^ i , b e s t  
where C b e s t refers to the coefficient of control and is determined as follows:
C b e s t = 2 ( r a n d + I I m a k s )  
where r a n d stands for the arbitrarily formed number amongst zero and one, I demonstrates the actual iteration number, and I m a k s defines the maximal number of iterations.
The KHA approach derives a fitness function to obtain enhanced classification accuracy. It defines a positive integer to characterize the candidate solution performance. In the work, the minimalization of the classification error rate is taken into account as a fitness function. A worse solution achieves an improved error rate, and the optimum solution has a minimal error rate.
f i t n e s s ( x i ) = C l a s s i f i e r   E r r o r R a t e ( x i ) = n u m b e r   o f   m i s c l a s s i f i e d   s a m p l e s T o t a l   n u m b e r   o f   s a m p l e s 100

3. Results and Discussion

3.1. Implementation Data

In this section, the performance validation of the DCSAE-ESDC technique takes place. The DCSAE-ESDC technique was simulated using the Python 3.6.5 tool. The results were tested using a benchmark epileptic seizure recognition dataset from the UCI repository [35]. The dataset involved two versions: a binary class dataset and a multi-class dataset. The details related to the dataset are provided in Table 1. The parameter settings are given as follows: learning rate: 0.01, dropout: 0.5, epoch count: 50, and activation: ReLU. For experimental validation, a 10-fold cross-validation approach was applied.

3.2. Result Analysis

Table 2 depicts the FS results of the DCSAE-ESDC technique with other FS models.
Figure 3 provides the number of features chosen by the DCSAE-ESDC technique with other FS models. The figure shows that the GA-FS model elected a higher number of 141 features out of the total 178 features. Likewise, the SA-FS and PSO-FS techniques chose a set of 128 and 134 features, respectively. However, the DCSAE-ESDC technique outperformed the other FS models by choosing the least number of 113 features out of 178 features, which helps to reduce the computation complexity and improve the classification accuracy.
Next, the best cost analysis of the DCSAE-ESDC technique is shown in Figure 4. The experimental results highlighted that the PSO-FS and GA-FS techniques resulted in poor performance, with the increased BC of 0.0345 and 0.0378, respectively. In line with these, the SA-FS technique tried to obtain a reasonable BC of 0.0269. However, the DCSAE-ESDC technique accomplished a better outcome, with the minimal BC of 0.0214.
Table 3 offers the detailed results analysis of the DCSAE-ESDC technique under the binary class with varying batch sizes (BSs) and epoch counts. The results show that the DCSAE-ESDC technique had the ability to accomplish effective epileptic seizure classification performance in all cases. For instance, with a BS of 32, the DCSAE-ESDC technique reached an average s e n s y , s p e c y , p r e c n ,   a c c u y , F s c o r e , and MCC of 99.19%, 99.20%, 99.25%, 98.67%, 98.89%, and 99.09%, respectively. Concurrently, with a BS of 64, the DCSAE-ESDC approach attained an average s e n s y , s p e c y , p r e c n ,   a c c u y , F s c o r e , and MCC of 99%, 99.07%, 99.06%, 98.52%, 98.39%, and 99.05%, correspondingly. Simultaneously, with a BS of 128, the DCSAE-ESDC method obtained an average s e n s y , s p e c y , p r e c n ,   a c c u y , F s c o r e , and MCC of 98.93%, 99.30%, 99.27%, 98.47%, 98.44%, and 99.12%, correspondingly.
An ROC curve (receiver operating characteristic curve) is used to demonstrate the performance of a classification model at all classification thresholds. The ROC analysis of the DCSAE-ESDC technique on the binary classification of epileptic seizures using EEG signals is shown in Figure 5. The figure revealed that the DCSAE-ESDC technique effectively identified the presence of epileptic seizures and attained a maximum ROC of 99.5023.
Table 4 provides the detailed results analysis of the DCSAE-ESDC system under multi-classes with different BSs and epoch counts. The outcomes demonstrated that the DCSAE-ESDC approach had the ability to accomplish efficient epileptic seizure classification performance in all cases. For instance, with a BS of 32, the DCSAE-ESDC algorithm gained an average s e n s y , s p e c y , p r e c n ,   a c c u y , F s c o r e , and MCC of 99.09%, 99.29%, 99.20%, 98.57%, 98.45%, and 99.12%, correspondingly. With a BS of 64, the DCSAE-ESDC method attained an average s e n s y , s p e c y , p r e c n ,   a c c u y , F s c o r e , and MCC of 98.96%, 99.26%, 99.19%, 98.73%, 98.44%, and 99.08%, correspondingly. Eventually, with a BS of 128, the DCSAE-ESDC methodology achieved an average s e n s y , s p e c y , p r e c n ,   a c c u y , F s c o r e , and MCC of 99.02%, 99.11%, 99.25%, 98.65%, 98.82%, and 99.10%, respectively.
The ROC analysis of the DCSAE-ESDC approach on the multi-classification of epileptic seizures utilizing EEG signals is illustrated in Figure 6. The figure states that the DCSAE-ESDC method efficiently identified the presence of epileptic seizures and gained a maximal ROC of 99.5023.

3.3. Discussion

A comparative results analysis of the DCSAE-ESDC technique with recent methods [36] is shown in Table 5. Figure 7 depicts the s e n s y and s p e c y analysis of the DCSAE-ESDC approach with existing algorithms. The experimental outcomes exhibited that the SVM and LR methodologies reached minimum classification s e n s y and s p e c y . In line with this, the ResNet152, Inception-v3, and EESC approaches gained somewhat superior performances. In addition, the DCAE+MLP and DCAE+BiLSTM techniques attained moderately closer s e n s y and s p e c y values. At last, the DCSAE-ESDC system resulted in an enhanced classification performance, with the maximal s e n s y and s p e c y of 99.19%, 98.96% and 99.20%, 99.26% under binary and multi-class, correspondingly.
Figure 8 illustrates the a c c u y analysis of the DCSAE-ESDC technique with existing techniques. The experimental results demonstrated that the SVM and LR models reached a lower classification a c c u y . The ResNet152, Inception-v3, and EESC techniques obtained slightly improved performances. Moreover, the DCAE + MLP and DCAE + BiLSTM models attained moderately closer a c c u y values. However, the DCSAE-ESDC technique resulted in an enhanced classification performance, with the maximum a c c u y of 98.67% and 98.73% under binary and multi-class, respectively.
In order to examine the time complexity of the DCSAE-ESDC technique, an average prediction time (APT) analysis of the DCSAE-ESDC technique is shown in Table 6 and Figure 9. The results reported that the EESC, Inception-v3, and ResNet models resulted in lower APTs of 113.60 min, 92.10 min, and 68.50 min, respectively. Along with that, the LR, SVM, and DCAE-BiLSTM models accomplished improved performances with slightly reduced APTs. Though the DCAE + MLP model attained a reasonable APT, the DCSAE-ESDC technique required the least APT of 13.65 min and 10.23 min under multi-class and binary class, respectively.
From the detailed results and discussion, it is ensured that the DCSAE-ESDC technique has been found to be an effective tool to detect and classify epileptic seizures using EEG signals.

4. Conclusions

In this study, an effective DCSAE-ESDC technique was derived for the identification and classification of epileptic seizures using EEG signals. The proposed DCSAE-ESDC technique encompasses several stages of operations, namely, data pre-processing, COA-based feature selection, DCSAE-based classification, and KHA-based parameter tuning. The utilization of a COA-based feature selection approach helps to eliminate the curse of dimensionality problems and enhances the classification results. The performance of the DCSAE-ESDC technique was validated against the benchmark epileptic seizure recognition dataset. The experimental outcome stated that the DCSAE-ESDC technique accomplished maximum epileptic seizure classification performance compared to other recent methods, with maximum accuracy of 98.67% and 98.73% under binary and multi-classification, respectively. Therefore, the DCSAE-ESDC technique was found to be useful for epileptic seizure diagnosis in real time. In the future, hybrid DL models with metaheuristics-based hyperparameter optimizers can be designed for improved epileptic seizure detection outcomes.

Author Contributions

Conceptualization, A.M.H. and M.K.N.; methodology, A.A.A.; software, A.S.Z.; validation, A.A.A., A.M. (Abdullah Mohamed) and A.M. (Abdelwahed Motwakel); formal analysis, M.R.; investigation, A.M. (Abdelwahed Motwakel); resources, A.M.H.; data curation, A.S.Z.; writing—original draft preparation, A.A.A., M.K.N.; and S.D. writing—review and editing, A.M. (Abdullah Mohamed), S.D.; visualization, M.R.; supervision, A.A.A.; project administration, M.K.N.; funding acquisition, A.A.A. All authors have read and agreed to the published version of the manuscript.

Funding

The authors extend their appreciation to the Deanship of Scientific Research at King Khalid University for funding this work through Large Groups Project under grant number (142/43). Princess Nourah bint Abdulrahman University Researchers Supporting Project number (PNURSP2022R191), Princess Nourah bint Abdulrahman University, Riyadh, Saudi Arabia. The authors would like to thank the Deanship of Scientific Research at Umm Al-Qura University for supporting this work by Grant Code: (22UQU4310373DSR22).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The dataset used in this paper is publicly available via the following link: https://archive.ics.uci.edu/ml/datasets/Epileptic+Seizure+Recognition accessed on 16 April 2022.

Conflicts of Interest

The authors declare that they have no conflict of interest. The manuscript was written through contributions of all authors. All authors have given approval to the final version of the manuscript.

References

  1. Zhou, M.; Tian, C.; Cao, R.; Wang, B.; Niu, Y.; Hu, T.; Guo, H.; Xiang, J. Epileptic seizure detection based on EEG signals and CNN. Front. Neuroinform. 2018, 12, 95. [Google Scholar] [CrossRef] [PubMed]
  2. Neamțu, B.M.; Visa, G.; Maniu, I.; Ognean, M.L.; Pérez-Elvira, R.; Dragomir, A.; Agudo, M.; Șofariu, C.R.; Gheonea, M.; Pitic, A.; et al. A decision-tree approach to assist in forecasting the outcomes of the neonatal brain injury. Int. J. Environ. Res. Public Health 2021, 18, 4807. [Google Scholar] [CrossRef] [PubMed]
  3. Abou-Abbas, L.; Jemal, I.; Henni, K.; Ouakrim, Y.; Mitiche, A.; Mezghani, N. EEG Oscillatory Power and Complexity for Epileptic Seizure Detection. Appl. Sci. 2022, 12, 4181. [Google Scholar] [CrossRef]
  4. Qureshi, S.A.; Raza, S.E.A.; Hussain, L.; Malibari, A.A.; Nour, M.K.; Rehman, A.U.; Al-Wesabi, F.N.; Hilal, A.M. Intelligent Ultra-Light Deep Learning Model for Multi-Class Brain Tumor Detection. Appl. Sci. 2022, 12, 3715. [Google Scholar] [CrossRef]
  5. Malibari, A.A.; Alshahrani, R.; Al-Wesabi, F.N.; Haj Hassine, S.B.; Alkhonaini, M.A.; Hilal, A.M. Artificial intelligence based prostate cancer classification model using biomedical images. Comput. Mater. Contin. 2022, 72, 3799–3813. [Google Scholar] [CrossRef]
  6. Poonia, R.C.; Gupta, M.K.; Abunadi, I.; Albraikan, A.A.; Al-Wesabi, F.N.; Hamza, M.A. Intelligent Diagnostic Prediction and Classification Models for Detection of Kidney Disease. Healthcare 2022, 10, 371. [Google Scholar] [CrossRef] [PubMed]
  7. Al Duhayyim, M.; Mesfer Alshahrani, H.; Al-Wesabi, F.N.; Abdullah, M.; Al-Hagery, M.A.; Hilal, A.M. Intelligent machine learning based EEG signal classification model. Comput. Mater. Contin. 2022, 71, 1821–1835. [Google Scholar]
  8. Areej, A.; Al-Wesabi, F.; Marwa, O.; Mimouna, A.; Manar, A.; Abdelwahed, M.; Ishfaq, Y.; Abu Sarwar, Z. Arithmetic Optimization with RetinaNet Model for Motor Imagery Classification on Brain Computer Interface. J. Healthc. Eng. 2022, 2022, 3987494. [Google Scholar]
  9. Borowska, M. Multiscale Permutation Lempel–Ziv Complexity Measure for Biomedical Signal Analysis: Interpretation and Application to Focal EEG Signals. Entropy 2021, 23, 832. [Google Scholar] [CrossRef]
  10. Ghosh-Dastidar, S.; Adeli, H.; Dadmehr, N. Mixed-band wavelet-chaos-neural network methodology for epilepsy and epileptic seizure detection. IEEE Trans. Biomed. Eng. 2007, 54, 1545–1551. [Google Scholar] [CrossRef]
  11. Parvez, M.Z.; Paul, M. Epileptic seizure detection by analyzing EEG signals using different transformation techniques. Neurocomputing 2014, 145, 190–200. [Google Scholar] [CrossRef]
  12. Niknazar, M.; Mousavi, S.R.; Vahdat, B.V.; Sayyah, M. A new framework based on recurrence quantification analysis for epileptic seizure detection. IEEE J. Biomed. Health Inform. 2013, 17, 572–578. [Google Scholar] [CrossRef]
  13. Boonyakitanont, P.; Lek-Uthai, A.; Chomtho, K.; Songsiri, J. A review of feature extraction and performance evaluation in epileptic seizure detection using EEG. Biomed. Signal Process. Control. 2020, 57, 101702. [Google Scholar] [CrossRef]
  14. Wang, L.; Xue, W.; Li, Y.; Luo, M.; Huang, J.; Cui, W.; Huang, C. Automatic epileptic seizure detection in EEG signals using multi-domain feature extraction and nonlinear analysis. Entropy 2017, 19, 222. [Google Scholar] [CrossRef]
  15. Mursalin, M.; Zhang, Y.; Chen, Y.; Chawla, N.V. Automated epileptic seizure detection using improved correlation-based feature selection with random forest classifier. Neurocomputing 2017, 241, 204–214. [Google Scholar] [CrossRef]
  16. Hamza, M.A.; Hassine, S.B.H.; Abunadi, I.; Al-Wesabi, F.N.; Alsolai, H.; Hilal, A.M.; Motwakel, A. Feature selection with optimal stacked sparse autoencoder for data mining. Comput. Mater. Contin. 2022, 72, 2581–2596. [Google Scholar]
  17. Usman, S.M.; Usman, M.; Fong, S. Epileptic seizures prediction using machine learning methods. Comput. Math. Methods Med. 2017, 2017, 9074759. [Google Scholar] [CrossRef]
  18. Janghel, R.R.; Rathore, Y.K.; Tatiparti, G. Epileptic Seizure Detection and Classification Using Machine Learning. In Early Detection of Neurological Disorders Using Machine Learning Systems; IGI Global: Hershey, PA, USA, 2019; pp. 152–164. [Google Scholar]
  19. Qureshi, M.B.; Afzaal, M.; Qureshi, M.S.; Fayaz, M. Machine learning-based EEG signals classification model for epileptic seizure detection. Multimed. Tools Appl. 2021, 80, 17849–17877. [Google Scholar]
  20. Aileni, R.M.; Paşca, S.; Florescu, A. March. Epileptic seizure classification based on supervised learning models. In 2019 11th International Symposium on Advanced Topics in Electrical Engineering (ATEE); IEEE: Manhattan, NY, USA, 2019; pp. 1–4. [Google Scholar]
  21. Abdelhameed, A.; Bayoumi, M. A deep learning approach for automatic seizure detection in children with epilepsy. Front. Comput. Neurosci. 2021, 15, 29. [Google Scholar] [CrossRef]
  22. Gao, Y.; Gao, B.; Chen, Q.; Liu, J.; Zhang, Y. Deep convolutional neural network-based epileptic electroencephalogram (EEG) signal classification. Front. Neurol. 2020, 11, 375. [Google Scholar] [CrossRef] [PubMed]
  23. Sarić, R.; Jokić, D.; Beganović, N.; Pokvić, L.G.; Badnjević, A. FPGA-based real-time epileptic seizure classification using Artificial Neural Network. Biomed. Signal Process. Control. 2020, 62, 102106. [Google Scholar] [CrossRef]
  24. Singh, K.; Malhotra, J. Smart neurocare approach for detection of epileptic seizures using deep learning based temporal analysis of EEG patterns. Multimed. Tools Appl. 2022, 81, 29555–29586. [Google Scholar] [CrossRef]
  25. Singh, K.; Malhotra, J. Prediction of epileptic seizures from spectral features of intracranial eeg recordings using deep learning approach. Multimed. Tools Appl. 2022, 81, 28875–28898. [Google Scholar] [CrossRef]
  26. Anter, A.M.; Abd Elaziz, M.; Zhang, Z. Real-time epileptic seizure recognition using Bayesian genetic whale optimizer and adaptive machine learning. Future Gener. Comput. Syst. 2022, 127, 426–434. [Google Scholar] [CrossRef]
  27. Beeraka, S.M.; Kumar, A.; Sameer, M.; Ghosh, S.; Gupta, B. Accuracy Enhancement of Epileptic Seizure Detection: A Deep Learning Approach with Hardware Realization of STFT. Circuits Syst. Signal Process. 2022, 41, 461–484. [Google Scholar] [CrossRef]
  28. Anuragi, A.; Sisodia, D.S.; Pachori, R.B. Epileptic-seizure classification using phase-space representation of FBSE-EWT based EEG sub-band signals and ensemble learners. Biomed. Signal Process. Control. 2022, 71, 103138. [Google Scholar] [CrossRef]
  29. Pierezan, J.; Coelho, L. Coyote optimization algorithm: A new metaheuristic for global optimization problems. In IEEE Congress on Evolutionary Computation (CEC); IEEE: Manhattan, NY, USA, 2018; pp. 1–8. [Google Scholar]
  30. Sayed, G.I.; Khoriba, G.; Haggag, M.H. The novel multi-swarm coyote optimization algorithm for automatic skin lesion segmentation. Evol. Intell. 2020, 1–33. [Google Scholar] [CrossRef]
  31. Andrew, G.; Arora, R.; Bilmes, J.; Livescu, K. Deep canonical correlation analysis. In Proceedings of the 30th International Conference on Machine Learning PMLR, Atlanta, GA, USA, 17–19 June 2013; pp. 1247–1255. [Google Scholar]
  32. Li, G.; Han, D.; Wang, C.; Hu, W.; Calhoun, V.D.; Wang, Y.P. Application of deep canonically correlated sparse autoencoder for the classification of schizophrenia. Comput. Methods Programs Biomed. 2020, 183, 105073. [Google Scholar] [CrossRef] [PubMed]
  33. Gandomi, A.H.; Alavi, A.H. Krill herd: A new bio-inspired optimization algorithm. Commun. Nonlinear Sci. Numer. Simul. 2012, 17, 4831–4845. [Google Scholar] [CrossRef]
  34. Bilal, H.; Öztürk, F. Rubber bushing optimization by using a novel chaotic krill herd optimization algorithm. Soft Comput. 2021, 25, 14333–14355. [Google Scholar] [CrossRef]
  35. Available online: https://archive.ics.uci.edu/ml/datasets/Epileptic+Seizure+Recognition (accessed on 16 April 2022).
  36. Almustafa, K.M. Classification of epileptic seizure dataset using different machine learning algorithms. Inform. Med. Unlocked 2020, 21, 100444. [Google Scholar] [CrossRef]
Figure 1. Overall Process of the Proposed Method.
Figure 1. Overall Process of the Proposed Method.
Biology 11 01220 g001
Figure 2. Flowchart of the Krill Herd Algorithm.
Figure 2. Flowchart of the Krill Herd Algorithm.
Biology 11 01220 g002
Figure 3. FS analysis of DCSAE-ESDC technique.
Figure 3. FS analysis of DCSAE-ESDC technique.
Biology 11 01220 g003
Figure 4. Best cost analysis of DCSAE-ESDC technique.
Figure 4. Best cost analysis of DCSAE-ESDC technique.
Biology 11 01220 g004
Figure 5. ROC analysis of DCSAE-ESDC technique under the binary class.
Figure 5. ROC analysis of DCSAE-ESDC technique under the binary class.
Biology 11 01220 g005
Figure 6. ROC analysis of DCSAE-ESDC technique under multi-class.
Figure 6. ROC analysis of DCSAE-ESDC technique under multi-class.
Biology 11 01220 g006
Figure 7. sensy and specy analysis of DCSAE-ESDC technique.
Figure 7. sensy and specy analysis of DCSAE-ESDC technique.
Biology 11 01220 g007
Figure 8. accy analysis of DCSAE-ESDC technique with existing approaches.
Figure 8. accy analysis of DCSAE-ESDC technique with existing approaches.
Biology 11 01220 g008
Figure 9. Average prediction time analysis of DCSAE-ESDC technique.
Figure 9. Average prediction time analysis of DCSAE-ESDC technique.
Biology 11 01220 g009
Table 1. Dataset Description.
Table 1. Dataset Description.
Class NameClass LabelNo. of Instances
Binary Class Dataset
EEG signals having seizure activity02300
EEG signals not having seizure activity19200
Multi-Class Dataset
EEG signals having seizure activity02300
EEG signals having tumor region12300
EEG signals having healthy brain22300
EEG signals having eyes closed32300
EEG signals having eyes closed42300
Table 2. Results Analysis of Applied Feature Selection Methods (Total Features 178).
Table 2. Results Analysis of Applied Feature Selection Methods (Total Features 178).
MethodsSelected FeaturesBest Cost
DCSAE-ESDC1130.0214
SA-FS1280.0269
PSO-FS1340.0345
GA-FS 1410.0378
Table 3. Results analysis of DCSAE-ESDC technique in terms of distinct measures under the binary class.
Table 3. Results analysis of DCSAE-ESDC technique in terms of distinct measures under the binary class.
Batch Size = 32
No. of EpochsSensitivity (%)Specificity (%)Precision (%)Accuracy (%)F-Score (%)MCC
(%)
10099.2899.2799.1798.8199.0499.13
20099.2398.9699.1598.4798.6099.11
30098.9299.4299.2598.3799.2199.13
40099.2999.2099.2998.8399.0399.04
50099.2299.1499.3998.8998.5599.04
Average99.1999.2099.2598.6798.8999.09
Batch Size = 64
10098.8499.1098.9498.5298.0999.07
20098.9299.2198.9598.3098.2899.01
30098.9098.9399.0198.8998.0699.12
40099.2999.1199.4198.5399.0099.06
50099.0699.0199.0098.3598.5099.00
Average99.0099.0799.0698.5298.3999.05
Batch Size = 128
10099.0099.4499.0898.5298.0799.18
20098.8299.4299.4098.3198.7399.03
30098.8799.1599.4098.3998.0599.04
40098.9299.4299.0798.4798.1799.19
50099.0599.0599.3998.6899.1699.16
Average98.9399.3099.2798.4798.4499.12
Table 4. Results analysis of DCSAE-ESDC technique in terms of distinct measures under multi-class.
Table 4. Results analysis of DCSAE-ESDC technique in terms of distinct measures under multi-class.
Batch Size = 32
No. of EpochsSensitivity (%)Specificity (%)Precision (%)Accuracy (%)F-Score (%)MCC
(%)
10098.8199.3299.3898.7099.2399.00
20099.2899.2299.3398.5998.1099.14
30099.2199.2599.3598.5698.4999.19
40099.2299.4098.9898.6798.4199.14
50098.9199.2498.9698.3398.0099.14
Average99.0999.2999.2098.5798.4599.12
Batch Size = 64
10099.0598.9799.2998.6398.0899.15
20098.8899.3399.1498.6798.2399.00
30099.0299.4399.4898.5798.1999.17
40098.7499.3399.0298.9598.7799.00
50099.1299.2499.0298.8498.9399.07
Average98.9699.2699.1998.7398.4499.08
Batch Size = 128
10098.7398.9799.2398.6099.3099.05
20099.2898.9199.2198.8399.0599.11
30099.2899.1799.2098.8698.3399.03
40099.0099.4099.4898.6198.5699.16
50098.7999.1299.1598.3798.8499.14
Average99.0299.1199.2598.6598.8299.10
Table 5. Comparative analysis of DCSAE-ESDC technique with existing approaches.
Table 5. Comparative analysis of DCSAE-ESDC technique with existing approaches.
MethodsAccuracy (%)Sensitivity (%)Specificity (%)
DCSAE-ESDC (Binary) 98.6799.1999.20
DCSAE-ESDC (Multiclass) 98.7398.9699.26
DCAE + MLP98.1798.4998.83
DCAE + Bi-LSTM98.2698.2699.11
SVM Model82.3985.3883.00
Logistic Regression81.3283.8581.60
ResNet15290.6390.4596.85
Inception-V391.8991.5097.12
EESC Model93.9293.5797.87
Table 6. Average prediction time analysis of DCSAE-ESDC technique with recent methods.
Table 6. Average prediction time analysis of DCSAE-ESDC technique with recent methods.
MethodsAverage Prediction Time (min)
DCSAE-ESDC (Binary) 10.23
DCSAE-ESDC (Multiclass) 13.65
DCAE + MLP18.54
DCAE + Bi-LSTM25.72
SVM Model33.87
Logistic Regression43.60
ResNet15268.50
Inception-V392.10
EESC Model113.60
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Hilal, A.M.; Albraikan, A.A.; Dhahbi, S.; Nour, M.K.; Mohamed, A.; Motwakel, A.; Zamani, A.S.; Rizwanullah, M. Intelligent Epileptic Seizure Detection and Classification Model Using Optimal Deep Canonical Sparse Autoencoder. Biology 2022, 11, 1220. https://doi.org/10.3390/biology11081220

AMA Style

Hilal AM, Albraikan AA, Dhahbi S, Nour MK, Mohamed A, Motwakel A, Zamani AS, Rizwanullah M. Intelligent Epileptic Seizure Detection and Classification Model Using Optimal Deep Canonical Sparse Autoencoder. Biology. 2022; 11(8):1220. https://doi.org/10.3390/biology11081220

Chicago/Turabian Style

Hilal, Anwer Mustafa, Amani Abdulrahman Albraikan, Sami Dhahbi, Mohamed K. Nour, Abdullah Mohamed, Abdelwahed Motwakel, Abu Sarwar Zamani, and Mohammed Rizwanullah. 2022. "Intelligent Epileptic Seizure Detection and Classification Model Using Optimal Deep Canonical Sparse Autoencoder" Biology 11, no. 8: 1220. https://doi.org/10.3390/biology11081220

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop