Abstract
The epileptic seizure can be detected using electroencephalogram (EEG) signals. The detection of epileptogenic region in brain is important for the detection of epilepsy disease. The signals from epileptogenic region in brain are focal signal and the signal from normal regions in brain is non-focal signal. Hence, the detection of focal signal is important for epilepsy disease detection. This paper proposes an automatic detection and diagnosis of EEG signals for epilepsy disease using soft computing approaches as adaptive neuro fuzzy inference system (ANFIS) and neural networks (NN). In this paper, the features from decomposed coefficients as bias (B), weight feature (W), entropy(E), activity feature (AF), mobility feature (MF), complexity feature (CF), skewness (S) and kurtosis (K) are extracted for the classification of EEG signals into either focal or non-focal signals for epilepsy disease detection and diagnosis. The detection of focal signal is achieved by ANFIS classifier and the diagnosis of the severity levels in focal signal is achieved by NN classification approach. The proposed method is used in many clinical diagnosis.
Similar content being viewed by others
Explore related subjects
Discover the latest articles, news and stories from top researchers in related subjects.Avoid common mistakes on your manuscript.
1 Introduction
The migraine, stroke and Alzheimer are the well known disorders in human brain. In this sequence of disorders, epilepsy is another kind of brain disorder which is randomly occurred in large population countries. The formation of seizures in brain region is the responsible for Epilepsy disease (Minasyan et al. 2010; Gajic et al. 2015). The functionalities and behavior of the seizures are analyzed using electroencephalogram (EEG) signals which are captured by EEG sensor. The signals which are acquired by EEG sensor are non-linear and complex in its nature. Hence, it is very complicated process to detect and differentiate the minute changes in obtained EEG signals (Karthik et al. 2020).
The EEG signals from abnormal region of the brain are classified as focal signal and the EEG signals from the normal region of the brain are classified as non-focal EEG signals. In conventional methods, physicians or radiologist classifies the EEG signals by manual method. This leads to error and reduces the classification accuracy (Gajic et al. 2014). Hence, there is a need for the automatic detection and classification of EEG signals. Early detection of Epileptic seizures in brain region may save the life of patient. The EEG signals have different stages based on their amplitude levels as, preictal stage, postictal stage, ictal stage and interictal stage (Shoeb et al. 2004). The EEG signal is classified as preictal stage which is happening before the seizure occurs (Prabukumar et al. 2019). The starting state of seizure is classified as ictal stage and it leads to attack. The stage after ictal stage is postictal stage. The first occurring ictal stage is called as interictal stage (Subasi et al. 2007; Yuan et al. 2011; Zhu et al. 2013). In present scenario, the seizures can be identified in preictal stage itself. Figure 1 shows the different stages in seizure for epilepsy disease.
This paper proposes a computer aided automatic detection and classifications of focal signals from non-focal signals. Then, the focal signal can be diagnosed into various severity stages. This paper is structured as Sect. 2 discusses various conventional methodologies for epilepsy disease detection, Sect. 3 proposes a methodology for the detection and diagnosis of EEG signals, Sect. 4 discusses the simulation results of proposed methodology with conventional methodologies. Finally, the conclusion section is depicted in Sect. 5.
A novel and efficient approach for the identification and differentiation of focal signals from the obtained EEG signals from scalp regions, into focal or non-focal signal, is contributed in medical neurological field to help the radiologist or neurologist to screen the Epilepsy disease one time.
2 Literature survey
Krishnaprasanna et al. (2018) classified EEG signals into either focal or non-focal using intrinsic mode functions (IMF). The authors applied empirical mode decomposition (EMD) algorithm on EEG signals for decomposing the signals into sub band coefficients. The decomposed sub bands were classified by support vector machine (SVM) classification approach and achieved 93.6% of sensitivity, 93.6% of specificity and 96.8% of accuracy. Pushpendra Singh et al. (2017) used discrete Fourier transform (DFT) for decomposing the EEG signals into various sub bands. The intrinsic features were extracted from these decomposed sub band matrix and then these coefficients were trained and classified using least-square SVM classification approach. The authors achieved 94.1% of sensitivity, 95.7% of specificity and 96.1% of accuracy. Ravi Shankar Reddya et al. (2017) applied tunable wavelet transform (TWT) for the decomposition of source EEG signals. Then, the authors computed centered correntropy factor from each decomposed sub bands. The authors tested their proposed methodology with three different classification approaches as random forest classifier (RF), multilayer perceptron (MLP) classifier, and logistic regression classification algorithm. The authors achieved 98.3% of average classification accuracy by applying their proposed methodology.
Taqi et al. (2017) used deep convolutional soft-max classification algorithm for the automatic classifications of focal and non-focal EEG signals. The authors tested their proposed methodology on large EEG dataset for the verification of classification results. Pushpendra Singh et al. (2017) applied Fourier transform for the classification process of focal signals from non-focal EEG signals for the detection of epilepsy disease. The authors extracted mean frequency and root mean square bandwidth features from the EEG signals and these derived features were trained and classified using SVM classification methodology. The authors used least square approach for the classification of extracted features set for epilepsy detection process.
Sharma et al. (2015) applied discrete wavelet transform (DWT) on EEG signals for obtaining the decomposed sub bands. Then, the authors measured entropies of these decomposed sub bands and the EEG signals were classified based on the extracted entropy levels. The authors achieved 92.1% of sensitivity, 95.4% of specificity and 94.8% of accuracy. Dragoljub Gajic et al. (2014) classified the source EEG signals into either focal or non-focal EEG signals based on the statistical features or wavelet feature set. The authors used quadratic classification approaches for the classification of these extracted feature set. The authors obtained 99% of classification accuracy for the classification of EEG signals for epilepsy disease detection.
Rajendra Acharya et al. (2012) derived non linear and wavelet features from the source EEG signals for the classification of EEG signals into either focal or non-focal signals for the detection process of Epilepsy disease. The authors derived higher order spectra (HOS) and entropy features as non-linear features and four sub band decomposition as wavelet features. The authors applied six different classification methodologies on the extracted feature set and the authors found that the methodology with fuzzy classification approach achieved optimum classification results.
Ram Bilas Pachori et al. (2008) developed a computer aided automated methodology for the classifications of focal EEG signals from non-focal EEG signals. The authors decomposed the source EEG signals using EMD methodology. The mean frequency from each decomposed band were computed for discriminating the normal EEG signals from abnormal EEG signals for epilepsy disease detection.
3 Materials and methods
3.1 Methods
The automatic detection and classifications of focal and non-focal EEG signals classification methodology for epilepsy disease detection is proposed in this paper. This proposed method consists of decomposition using continuous wavelet transform (CWT), feature extraction and classifications using ANFIS classification approach. Next, the classified focal EEG signals are diagnosed into either ‘Early’ or ‘Advance’ based on their severity level. The proposed detection and diagnosis of epilepsy using ANFIS classifications is depicted in Fig. 2.
3.1.1 Decomposition
The scaling function of CWT is given by,
whereas, ‘s’ is the scaling factor which is used to vary the width of the wavelet. It is also used to represent the position of the wavelet function in frequency domain. ‘\(\tau\)’ is the translation factor which is used to control the location of the functional variable. It is also used to represent the position of the wavelet function in spatial domain.
The CWT of the signal x(t) is given by,
During decomposition of EEG signal using CWT, some extreme values are created in its decomposition coefficients which represent the peak maxima and peak minima of the EEG signal.
3.1.2 Feature extraction
In this paper, the features from decomposed coefficients as bias (B), weight feature (W), entropy (E), activity feature (AF), mobility feature (MF), complexity feature (CF), skewness (S) and kurtosis (K) are extracted for the classification of EEG signals into either focal or non-focal signals for epilepsy disease detection and diagnosis. These features are explained as follows.
3.1.3 Bias (B)
It extracts the actual discrimination between the signal value and its expected value using the following equation,
whereas, \(x_{i}\) is the signal value at different time slot and \(\widehat{{x_{i} }}\) is the expected value of \(x_{i}\). The total number of points to be considered within ROI is noted as ‘N’.
3.1.4 Weight feature (W)
This feature differentiates the focal EEG signal from non-focal EEG signal based on its weight to be computed for ROI region in EEG signal. The weight feature can be extracted using its bias value of the signal and it is given as,
3.1.5 Entropy
It is the statistical measure of the information in EEG signal within ROI region and it is given in the following equation.
whereas, the proportion of each signal point within ROI is represented as \(P_{i}\).
3.1.6 Activity feature (AF)
The activity level of EEG signal can be measured using its activity feature which can be defined in the following equation.
The value of activity feature is high for focal EEG signal and the value of activity feature is low for non-focal EEG signal.
3.1.7 Mobility feature (MF)
The abrupt changes in EEG signal are extracted using its mobility feature which can be defined in the following equation.
The value of activity feature is high for focal EEG signal and the value of activity feature is low for non-focal EEG signal.
3.1.8 Complexity feature (CF)
The focal EEG signal has more complexity pattern than the non-focal EEG signal and it’s given in the following equation.
The value of complexity feature is high for focal EEG signal and the value of complexity feature is low for non-focal EEG signal.
3.1.9 Skewness (S)
The third order statistical feature of EEG signal is described by skewness and it is given in the following equation.
3.1.10 Kurtosis (K)
The fourth order statistical feature of EEG signal is described by Kurtosis and it is given in the following equation.
3.1.11 Classifications
The classification algorithms such as Support Vector Machine (2007), Random Forest (2011), Deep Learning Neural Networks (2019), are mostly used for the detection and classification of focal and non-focal EEG signals. The classification rate of these conventional classification algorithms are low and it is not suitable for further severity diagnosis process (Durga Devi et al. 2020).In this paper, the focal EEG signal can be differentiated from non-focal EEG signal using adaptive neuro fuzzy inference system (ANFIS) classification approach.
In this ANFIS architecture (2017), the nodes are classified into adaptive nodes and fixed nodes. The adaptive nodes are represented as square nodes and the fixed nodes are represented as circle nodes. The adaptive nodes have inbuilt parameters for fuzzy rules and fixed nodes does not have any inbuilt parameters for fuzzy logic. The architecture of ANFIS is depicted in Fig. 3. In this Fig. 3, the parameters ‘x’ and ‘y’ are the features of focal and non-focal EEG signals, respectively during training phase of this classification approach. During classification phase of this classifier, the trained patterns are assigned to ‘x’ and the feature from test EEG signal is assigned to ‘y’ in Fig. 3. The ANFIS classification algorithm uses two distinct fuzzy rules for EEG signal classifications as stated below.
Rule 1: If ‘X’ is ‘A1’ and ‘Y’ is B1, then, \(f1 = r_{1} *x + s_{1} *y + t_{1} ;\)
Rule 2: If ‘X’ is ‘A2’ and ‘Y’ is B2, then, \(f2 = r_{2} *x + s_{2} *y + t_{2} ;\)
whereas, r1, s1, t1 are the consequent parameters of rule 1 and r2, s2, t2 are the consequent parameters of rule 2. The functional output of rule 1 is represented as f1 and the functional output of rule 2 is represented as f2.
The proposed ANFIS classification architecture has five numbers of layers and its functions are defined as follows.
Layer 1: It is used to compute the membership values of each node using the following functional equation,
whereas, ai, bi and ci are noted as linguistic parameters in this equation.
Layer 2: It multiplies each incoming signal and produces output using the following equation as stated below.
Layer 3: It constitutes N number of fixed nodes and it is defined using firing rule as stated below.
Layer 4: It constitutes ‘N’ number of adaptive nodes and they are defined as,
Layer 5: The final response from this layer is defined by the following equation as stated below.
The final response from this layer will be 1 for focal EEG signal and it will be 0 if the EEG signal is non-focal signal.
3.2 Severity diagnosis
The classified focal EEG signal can be diagnosed into either ‘Early’ or ‘Advance’. The ‘Early’ severity level can be treated by proper medicine and medication at regular period of time. The severity level ‘Advance’ can be cured by medicines and the patient requires immediate surgery in order to avoid severe health issues. In this paper, the severity level of focal EEG signal can be automatically diagnosed into either ‘Early’ or ‘Advance’ using feed forward back propagation neural network (FFBPNN) classification approach (2008). The focal EEG signals have more number of peaks and dense samples than the non-focal EEG signal. In this approach, these properties can be used for automatic severity level classifications.
The x-axis of classified focal EEG signal can be split into number of time intervals starting from 0 to 12,000 units by the increment of 2000 time slot units. The number of samples within each time interval is computed. At the same time, the peak maxima and peak minima of the focal EEG signal can be found using CWT coefficients which have highest and lowest coefficient value. The peak maxima is the high coefficient value in CWT coefficients and the peak minima is the low coefficient value in CWT coefficients. The threshold value is determined by average of absolute subtracting the peak minima from peak maxima value. Next, the total numbers of samples above the threshold value are computed. From the known dataset, samples count along with peak counts for both ‘Early’ and ‘Advance’ case signals are computed and they can be used for training mode in FFBPNN classifier. Now, the samples count along with peak counts from the classified focal EEG test signal can be extracted and they can be classified in classification mode of FFBPNN classifier with respect to training patterns. The FFBPNN classifier produces binary value, where low binary value represents ‘Early’ stage and high binary value represents ‘Advance’ stage.
In this paper, the focal dataset (750 EEG signals) is spilt into ‘Early’ and ‘Advance’ sub datasets. Among this 750 focal EEG signals, 150 EEG signals are in ‘Advance’ stage and the remaining 600 EEG signals are in ‘Early’ stage. The training dataset used in this paper constitutes 50 ‘Advance’ stage focal signals and 50 ‘Early’ stage focal signals. The sample and peak counts from both ‘Advance’ and ‘Early’ focal signals can be used for training FFBPNN classifier during training mode.
Table 1 shows the training samples of focal EEG signals for the case of ‘Early’ and ‘Advance’ stage.
4 Results and discussion
4.1 Detection of epilepsy using focal signal classifications
The focal and non-focal EEG signals used in this paper can be obtained from open access Bern–Barcelona EEG dataset (http://ntsa.upf.edu/downloads/). The focal EEG signals in this dataset can be obtained from the patients who are affected by pharma-coresistant temporal lobe epilepsy disease. This dataset consists of 750 focal and 750 non-focal EEG signals, respectively with 512 Hz sampling rate. Each signal in this dataset has ‘x’ and ‘y’ components. All EEG signals in this dataset are verified by expert radiologist.
The proposed EEG signal classifications for determining the severity level of the epilepsy disease is simulated using MATLAB R2015 software. In this paper, the 750 focal EEG signals and 750 non-focal EEG signals are used for the automatic classifications of EEG signals. The performance of the proposed methodology for epilepsy disease detection and diagnosis system is analyzed in terms of classification rate, sensitivity, specificity and accuracy.
The proposed methodology with Mean feature alone achieves 83% of classification rate, with standard deviation feature alone achieves 85% of classification rate and with energy feature alone achieves 89% of classification rate.
The proposed methodology with Mean and standard deviation features alone achieves 91% of classification rate, with mean and energy feature alone achieves 92% of classification rate.
The proposed method (with all features) correctly classifies 748 focal EEG signals over 750 focal signals and obtains 99.7% of classification rate and also classifies 749 non-focal EEG signals over 750 non-focal signals and obtains 99.8% of classification rate. The overall classification rate of the proposed method is about 99.85% for the automatic classifications of EEG signals for epilepsy detection.
The performance evaluation parameters sensitivity, specificity and accuracy of the proposed EEG signal classification system are computed using the following equations and is given in Table 2.
whereas, the number of correctly identified focal EEG signal is represented by True Positive (TP), the number of correctly identified non-focal EEG signal is represented by True Negative (TN), the number of incorrectly identified focal EEG signal is represented by False Positive (FP) and the number of incorrectly identified non-focal EEG signal is represented by False Negative (FN).
Table 2 shows the performance evaluation of proposed automatic EEG signals classifications for epilepsy detection. The proposed methodology achieves 96.7% of sensitivity, 98.1% of specificity and 99.7% of accuracy.
Table 3 shows the performance comparisons of proposed automatic EEG signals classification system with other state-of-the-art methods. The performance of the proposed method stated in this paper is compared with other state-of-the-art methods Krishnaprasanna et al. (2018), Pushpendrasingh et al. (2017) and Sharma et al. (2015). Krishnaprasanna et al. (2018) used SVM classification approach and achieved 93.6% of sensitivity, 93.6% of specificity and 96.8% of accuracy. Pushpendrasingh et al. (2017) used lease square SVM classification approach and achieved 94.1% of sensitivity, 95.7% of specificity and 96.1% of accuracy. Sharma et al. (2015) used DWT approach and achieved 92.1% of sensitivity, 95.4% of specificity and 94.8% of accuracy.
4.2 Diagnosis of focal EEG signals for severity analysis
The severity level of classified focal EEG signals can be analyzed by diagnosing the focal signals using neural network classification approach. In this paper, the proposed system correctly identifies 597 ‘Early’ stages EEG signals over 600 ‘Early’ stages EEG signals and achieves 99.5% of classification rate (CR) for diagnosing focal EEG signals for ‘Early’ stage. Also, the proposed system correctly identifies 145 ‘Advance’ stage EEG signals over 150 ‘Advance’ stage EEG signals and achieves 96.6% of classification rate for diagnosing focal EEG signals for ‘Early’ stage. Hence, the proposed focal EEG signal severity level determination system achieves 98.05% of average classification rate. The classification rate for ‘Early’ and ‘Advance’ stages of focal EEG signals are verified by expert radiologist or physician, and depicted in Table 4.
5 Conclusions
The automatic detection and classifications of focal and non-focal EEG signals classification methodology for epilepsy disease detection is proposed in this paper. This proposed method consists of decomposition using continuous wavelet transform (CWT), feature extraction and classifications using ANFIS classification approach. Next, the classified focal EEG signals are diagnosed into either ‘Early’ or ‘Advance’ based on their severity level. The proposed methodology achieves 96.7% of sensitivity, 98.1% of specificity and 99.7% of accuracy. The proposed focal EEG signal severity level determination system achieves 98.05% of average classification rate. The classification rate for ‘Early’ and ‘Advance’ stages of focal EEG signals are verified by expert radiologist or physician.
Change history
04 July 2022
This article has been retracted. Please see the Retraction Notice for more detail: https://doi.org/10.1007/s12652-022-04299-6
References
Addeh A, Demirel H, Zarbakhsh P (2017) Early detection of breast cancer using optimized ANFIS and features selection. In: 9th international conference on computational intelligence and communication networks, Girne, pp 39–42
Bern-Barcelona EEG dataset. http://ntsa.upf.edu/downloads/
Durga Devi TJB, Subramani A, Anitha P (2020) Modified adaptive neuro fuzzy inference system based load balancing for virtual machine with security in cloud computing environment. J Ambient Intell Hum Comput 1–8
Emami A, Kunii N, Matsuo T, Shinozaki T, Kawai K, Takahashi H (2019) Seizure detection by convolutional neural network-based analysis of scalp electroencephalography plot images. Neuroimage Clin. 22:101684
Gajic D, Djurovic Z, Di Gennaro S, Gustafsson F (2014) Classification of EEG signals for detection of epileptic seizures based on wavelets and statistical pattern recognition. Biomed Eng Appl Basis Commun 26:1–45
Gajic D, Djurovic Z, Gligorijevic J, Di Gennaro S, Savic-Gajic I (2015) Detection of epileptiform activity in EEG signals based on time–frequency and non-linear analysis. Front Comput Neurosci 9:1–12
Karthik B, Krishna Kumar T, Vijayaragavan SP (2020) Removal of high density salt and pepper noise in color image through modified cascaded filter. J Ambient Intell Hum Comput 1:1–8
Krishnaprasanna R, VijayaBaskar V (2018) Focal and non-focal EEG signal classification by computing area of 2D-PSR obtained for IMF. J ICT 5:171–186
Lin H (2008) Identification of spinal deformity classification with total curvature analysis and artificial neural network. IEEE Trans Biomed Eng 55:376–382
Minasyan GR, Chatten JB, Harner RN (2010) Patient-specific early seizure detection from scalp EEG. J Clin Neurophysiol 27:163–178
Pachori RB (2008) Discrimination between ictal and seizure-free EEG signals using empirical mode decomposition. Res Lett Signal Process 2008:1–5
Prabukumar M, Agilandeeswari L, Ganesan K (2019) An intelligent lung cancer diagnosis system using cuckoo search optimization and support vector machine classifier. J Ambient Intell Human Comput 10:267–293
Rajendra Acharya U, Vinitha Sree S, Ang PCA, Yanti R, Suri JS (2012) Application of non-linear and wavelet based features for the automated identification of epileptic EEG signals. Int J Neural Syst 22:1250002
Ravi Shankar Reddya G, Rao R (2017) Automated identification system for seizure EEG signals using tunable-Q wavelet transform. Int J Eng Sci Technol 20:1486–1493
Sharma R, Pachori RB, Acharya UR (2015) An integrated index for the identification of focal electroencephalogram signals using discrete wavelet transform and entropy measures. Entropy 17(8):5218–5240
Shoeb H, Edwards H, Connolly J, Bourgeois B, Treves ST, Guttag J (2004) Patient-specific seizure onset detection. Epilepsy Behav 5:483–498
Singh P, Pachori RB (2017) Classification of focal and non-focal EEG signals using features derived from Fourier-based rhythms. J Mech Med Biol 17:7
Subasi A (2007) EEG signal classification using wavelet feature extraction and a mixture of expert model. Expert Syst Appl 32:1084–1093
Taqi AM, Al-Azzo F, Mariofanna M, Al-Saadi JM (2017) Classification and discrimination of focal and non-focal EEG signals based on deep neural network. In: International conference on current research in computer science and information technology, Slemani, pp 86–92
Türk Ö, Özerdem MS (2019) Epilepsy detection by using scalogram based convolutional neural network from EEG signals. Brain Sci 9(5):115
Yuan Q, Zhou W, Li S, Cai D (2011) Epileptic EEG classification based on extreme learning machine and nonlinear features. Epilepsy Res 96:29–38
Zhu G, Li Y, Wen PP, Wang S, Xi M (2013) Epileptogenic focus detection in intracranial EEG based on delay permutation entropy. In: Proceedings of the international symposium on computational models for life science, pp 31–36
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
This article has been retracted. Please see the retraction notice for more detail: https://doi.org/10.1007/s12652-022-04299-6
About this article
Cite this article
Deivasigamani, S., Senthilpari, C. & Yong, W.H. RETRACTED ARTICLE: Machine learning method based detection and diagnosis for epilepsy in EEG signal. J Ambient Intell Human Comput 12, 4215–4221 (2021). https://doi.org/10.1007/s12652-020-01816-3
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s12652-020-01816-3