Electroencephalography Analysis Using Neural Network and Support Vector Machine during Sleep



Similar documents
Neural Networks and Support Vector Machines

Analecta Vol. 8, No. 2 ISSN

Artificial Neural Networks and Support Vector Machines. CS 486/686: Introduction to Artificial Intelligence

EFFICIENT DATA PRE-PROCESSING FOR DATA MINING

ANN Based Fault Classifier and Fault Locator for Double Circuit Transmission Line

An Introduction to Neural Networks

Chapter 2 The Research on Fault Diagnosis of Building Electrical System Based on RBF Neural Network

Novelty Detection in image recognition using IRF Neural Networks properties

Introduction to Machine Learning and Data Mining. Prof. Dr. Igor Trajkovski

Impact of Feature Selection on the Performance of Wireless Intrusion Detection Systems

AUTOMATION OF ENERGY DEMAND FORECASTING. Sanzad Siddique, B.S.

Method of Combining the Degrees of Similarity in Handwritten Signature Authentication Using Neural Networks

Knowledge Discovery from patents using KMX Text Analytics

Predicting required bandwidth for educational institutes using prediction techniques in data mining (Case Study: Qom Payame Noor University)

Gender Identification using MFCC for Telephone Applications A Comparative Study

Classification of Waking, Sleep Onset and Deep Sleep by Single Measures

Utilization of Neural Network for Disease Forecasting

Artificial Neural Network for Speech Recognition

Support Vector Machines with Clustering for Training with Very Large Datasets

International Journal of Computer Science Trends and Technology (IJCST) Volume 2 Issue 3, May-Jun 2014

A Content based Spam Filtering Using Optical Back Propagation Technique

Feature Vector Selection for Automatic Classification of ECG Arrhythmias

Learning to Process Natural Language in Big Data Environment

A New Approach For Estimating Software Effort Using RBFN Network

Recurrent Neural Networks

SURVIVABILITY ANALYSIS OF PEDIATRIC LEUKAEMIC PATIENTS USING NEURAL NETWORK APPROACH

SUCCESSFUL PREDICTION OF HORSE RACING RESULTS USING A NEURAL NETWORK

How To Use Neural Networks In Data Mining

Assessing Data Mining: The State of the Practice

An Introduction to Data Mining

Forecasting Trade Direction and Size of Future Contracts Using Deep Belief Network

New Ensemble Combination Scheme

Using artificial intelligence for data reduction in mechanical engineering

Intrusion Detection via Machine Learning for SCADA System Protection

Artificial Neural Network Approach for Classification of Heart Disease Dataset

NEURAL networks [5] are universal approximators [6]. It

Scalable Developments for Big Data Analytics in Remote Sensing

A Health Degree Evaluation Algorithm for Equipment Based on Fuzzy Sets and the Improved SVM

Neural Networks and Back Propagation Algorithm

Data Mining and Neural Networks in Stata

High-Performance Signature Recognition Method using SVM

SURVIVABILITY OF COMPLEX SYSTEM SUPPORT VECTOR MACHINE BASED APPROACH

Feed-Forward mapping networks KAIST 바이오및뇌공학과 정재승

NEURAL NETWORKS A Comprehensive Foundation

Forecasting of Economic Quantities using Fuzzy Autoregressive Model and Fuzzy Neural Network

Blood Vessel Classification into Arteries and Veins in Retinal Images

Predicting the Risk of Heart Attacks using Neural Network and Decision Tree

A Study on the Comparison of Electricity Forecasting Models: Korea and China

Car Insurance. Havránek, Pokorný, Tomášek

Brain Computer Interfaces (BCI) Communication Training of brain activity

HYBRID PROBABILITY BASED ENSEMBLES FOR BANKRUPTCY PREDICTION

Low Cost Correction of OCR Errors Using Learning in a Multi-Engine Environment

Establishing the Uniqueness of the Human Voice for Security Applications

A Framework for Intelligent Online Customer Service System

Short Term Electricity Price Forecasting Using ANN and Fuzzy Logic under Deregulated Environment

Data Mining Algorithms Part 1. Dejan Sarka

A fast multi-class SVM learning method for huge databases

Investigation of Brain Potentials in Sleeping Humans Exposed to the Electromagnetic Field of Mobile Phones

Comparing the Results of Support Vector Machines with Traditional Data Mining Algorithms

Comparison of Supervised and Unsupervised Learning Classifiers for Travel Recommendations

Back Propagation Neural Network for Wireless Networking

NTC Project: S01-PH10 (formerly I01-P10) 1 Forecasting Women s Apparel Sales Using Mathematical Modeling

THREE DIMENSIONAL REPRESENTATION OF AMINO ACID CHARAC- TERISTICS

Lecture 6. Artificial Neural Networks

Design call center management system of e-commerce based on BP neural network and multifractal

Introduction to Support Vector Machines. Colin Campbell, Bristol University

Role of Neural network in data mining

Classification algorithm in Data mining: An Overview

ARTIFICIAL INTELLIGENCE METHODS IN EARLY MANUFACTURING TIME ESTIMATION

FUNCTIONAL EEG ANALYZE IN AUTISM. Dr. Plamen Dimitrov

Data quality in Accounting Information Systems

Predictive time series analysis of stock prices using neural network classifier

Neural Network Applications in Stock Market Predictions - A Methodology Analysis

Stabilization by Conceptual Duplication in Adaptive Resonance Theory

FRAUD DETECTION IN ELECTRIC POWER DISTRIBUTION NETWORKS USING AN ANN-BASED KNOWLEDGE-DISCOVERY PROCESS

Big Data Analytics CSCI 4030

Performance Evaluation of Artificial Neural. Networks for Spatial Data Analysis

Technical Trading Rules as a Prior Knowledge to a Neural Networks Prediction System for the S&P 500 Index

EEG of Newborn and Infants. Ki Joong Kim MD PhD Pediatric Neurology Seoul National University Children s Hospital Seoul, Korea

Face Recognition For Remote Database Backup System

Application of Neural Network in User Authentication for Smart Home System

Prediction Model for Crude Oil Price Using Artificial Neural Networks

Estimation of Sympathetic and Parasympathetic Level during Orthostatic Stress using Artificial Neural Networks

Doppler. Doppler. Doppler shift. Doppler Frequency. Doppler shift. Doppler shift. Chapter 19

Machine Learning Logistic Regression

Impelling Heart Attack Prediction System using Data Mining and Artificial Neural Network

DIAGONAL BASED FEATURE EXTRACTION FOR HANDWRITTEN ALPHABETS RECOGNITION SYSTEM USING NEURAL NETWORK

COMPARISON OF OBJECT BASED AND PIXEL BASED CLASSIFICATION OF HIGH RESOLUTION SATELLITE IMAGES USING ARTIFICIAL NEURAL NETWORKS

Comparison of K-means and Backpropagation Data Mining Algorithms

Performance Evaluation On Human Resource Management Of China S Commercial Banks Based On Improved Bp Neural Networks

Simplified Machine Learning for CUDA. Umar

Making Sense of the Mayhem: Machine Learning and March Madness

Feature Selection using Integer and Binary coded Genetic Algorithm to improve the performance of SVM Classifier

TECHNICAL SPECIFICATIONS, VALIDATION, AND RESEARCH USE CONTENTS:

Sound Quality Evaluation of Hermetic Compressors Using Artificial Neural Networks

Neural Networks for Sentiment Detection in Financial Text

DATA MINING TECHNIQUES AND APPLICATIONS

International Journal of Computer Trends and Technology (IJCTT) volume 4 Issue 8 August 2013

Predict Influencers in the Social Network

Price Prediction of Share Market using Artificial Neural Network (ANN)

Transcription:

Engineering, 23, 5, 88-92 doi:.4236/eng.23.55b8 Published Online May 23 (http://www.scirp.org/journal/eng) Electroencephalography Analysis Using Neural Network and Support Vector Machine during Sleep JeeEun Lee, Sun K. Yoo 2 Graduate School of Biomedical Engineering, Yonsei University, Seoul, Korea 2 Corresponding Author, Department of Medical Engineering, College of Medicine, Yonsei University, Seoul, Korea Email: wldmsdlt5@gmail.com, sunkyoo@yuhs.ac Received 23 ABSTRACT The purpose of this paper is to analyze sleep stages accurately using fast and simple classifiers based on the frequency domain of electroencephalography(eeg) signal. To compare and evaluate system performance, the rules of Rechtschaffen and Kales(R&K rule) were used. Parameters were extracted from preprocessing process of EEG signal as feature vectors of each sleep stage analysis system through representatives of back propagation algorithm and support vector machine (SVM). As a result, SVM showed better performance as pattern recognition system for classification of sleep stages. It was found that easier analysis of sleep stage was possible using such simple system. Since accurate estimation of sleep state is possible through combination of algorithms, we could see the potential for the classifier to be used for sleep analysis system. Keywords: Sleep; Electroencephalography; Neural Network; Backpropagation Algorithm; SVM. Introduction Sleeping is defined as a behavioral state where surroundings cannot be perceived and being non-reactive to stimulus. Study on sleeping is constantly being researched since the 93s starting with the discovery of EEG and currently depending on the depth of sleeping, sleep stage has been divided. From the arousal state where the voluntary adjustment of eye movement is possible, to the shallow sleeping state of phase progressing through phase 4 s deep sleep, then through REM sleep stage to the dreaming state. During the REM sleep the status of the brain includes the low voltage EEG and has similar neural activity as awaken state but body muscles appears helpless. Humans repeat such sleeping state. Such sleeping takes up /3 of people s daily lives and are closely related to biometric activity and countless diseases relating to sleeping is being classified. Sleeping being closely related to biometric activity means that sleeping can be expressed by biomedical signals and such signal can be used to classify the sleep state. In order to analyze the sleep stage, a biomedical signal analysis is being performed based on the rules of Rechtschaffen and Kales, but the calculation process according to this rule has a vast number of sleeping records with time consuming problems []. EEG measured for sleep analysis is a technique that records the electrical activity of the brain, which can be best used as an important standard that distinguishes most objective classification of the sleep state. In order to analyze the sleep stage, EEG signal can be best confirmed at C3 and C4, and the EEG signal s frequency band is different depending on the sleep stage and this can be used for classifying the sleep stage. EEG frequency by the sleep stage shows that during the arousal phase alpha frequency (8-3 Hz) and beta frequency (4-35 Hz) is active and at stage theta frequency (4-7 Hz), stage 2 spindle frequency (2-4 Hz) and K- complex is shown. At phase 3, 2% - 3% of delta frequency (2-4 Hz) is observed per epoch, and at phase 4, delta frequency (2-4 Hz) pattern of 5 or more is shown. During the REM sleep, it shows characteristics of pattern that is all mixed frequencies [2]. Table shows a frequency band by the sleep stage and the Figure shows EEG signal waveform by the sleep stage. Currently the accuracy of an algorithm to classify the sleep state is poor and the measurement is complex, but in this thesis using the EEG signal as basis through the signal processing, extracting features and analyzing and applying it to the neural networks and SVM can help to accurately classify the patterns according to the sleep stage. 2. Materials and Methods The data used for this study was obtained from grown men averaging 6.5 hours of sleep test. This data was measured at the C4 section sampling at Hz. Also to Copyright 23 SciRes.

J. E. LEE, S. K. YOO 89 Stage Awake Stage Stage2 Stage3 Stage4 REM Table. Sleep stage. Range of Frequency Alpha(8-3 Hz), Beta(4-35 Hz) Theta(4-7 Hz) Spindle(2-4 Hz), K-complex Delta(2-4 Hz) Delta(2-4 Hz) All of ranges Figure. EEG waveform of different sleep stage. define the category for the data the rules of Rechtschaffen and Kales was used giving epoch per 3 seconds to visually check the arousal state, light sleep (Stage and Stage 2), deep sleep (Stage 3 and Stage 4) and REM state categorized with a total of 4 stage level[3]. Based on the pattern recognition, the analysis algorithm for sleep stage undergoes a signal processing of obtained EEG signal data and selects the parameter for the frequency domain which well indicates the sleep stage. A classifier used at such time is backpropagation algorithm for neural network and support vector machine. The test was configured by using well studied classifier to input other data to compare the accuracy of the classifier and to evaluate. The overall flow is shown on the Figure 2. 2.. Pre-processing and Feature Extraction The EEG appears due to the chemical changes in the nerve cells and through the detection of the EEG internal details on the activities and functions of the brain can be seen. EEG signals has dozens of μv units, and in the time domain it can be analyzed by the periodic appearance of the EEG signal and noise, and in the frequency domain, by separating each band to find the value of the dominant frequency components to classify the quantification of the signal or types of signal. EEG signal is unpredictable and affected by a microscopic stimulus so unless the signals are processed it is difficult to interpret the EEG. Accordingly, the original waveform obtained from this study was used for the pre-processing of the EEG signal [4]. First EEG s largely occur by the movement of the muscle and eyes causing unnecessary signals to form so eliminating the total signal s average value from the original signal to adjust the baseline. Afterwards increasing and decreasing of the EEG signals due to the person s movement can occur so linear detrend was applied to remove the straight constituents then filtering to remove the power noise and high frequency constituents In this thesis, since the sleep stage has a big correlation with the EEG frequency band, gave frequency analysis of the EEG signal. In order to classify the EEG signal that has completed the filtering by band, a Fast Fourier transform was used to separate the EEG frequency band. In order to find the distinct characteristic vector that matches the predetermined data level, divided in the units of 3 seconds, calculating the frequency power per sample to extract the distinct characteristic vector [5]. A frequency power can relatively have a different values therefore based on the power value for each band, relative power value of the total power was obtained, and extracted relative power was also normalized to have values of -. The Figure 3 shows a distinct characteristic vector of relative power extracted by each frequency for 3 minutes and the Figure 4 is an overall flow chart for the characteristic extraction. Figure 2. The flow chart of a sleep stage analysis system. Copyright 23 SciRes.

9 J. E. LEE, S. K. YOO.5 delta 2 3 4 5 6 sequence per 3 sec theta.5 2 3 4 5 6 sequence per 3 sec alpha.5 2 3 4 5 6 sequence per 3 sec beta.5 2 3 4 5 6 sequence per 3 sec gamma.5 2 3 4 5 6 sequence per 3 sec total.5 2 3 4 5 6 7 8 9 sequence per 3 sec Figure 3. EEG relative power per time. 2.2. Backpropagation Algorithm The backpropagation algorithm is a learning algorithm used to study the neural network by imitating the human s brain structure. A model of the neural network as shown on the Figure 5 consists of the input layer, hidden layer and output layer. The hidden layer combines the values received from the input layer and transfers the values to the output layer and through such learning process renewing the weighted value to make the classifier. To simply summarize the backpropagation algorithm, first the input date is inserted and calculates the output according to the input. Next, it finds the error between the output according to the input and the desired output to calculate the local error. Next it provides learning by renewing the weighted value for each neuron and repeating such process until the error is reduced to the appropriate level [6]. In order to structure the multilayer perceptron there are things to be considered. First is to categorize the input variables. Next is to determine what to do with the architecture of the backpropagation algorithm in which the number of nodes, number of layers and define active functions to be used. Besides initial weighted value, learning rate and stop condition should be specified in order for the user to configure as desired [7]. In this study, for effective use of the backpropagation algorithm, as previously mentioned, has undergone a process of categorizing the feature vector. Also for active function a sigmoid function was used, and by selecting and changing the number of the hidden layer and the hidden node, a structure that best accurately analyze the sleep state was selected. The Figure 6 is a graph showing that a learning process can reduce the error and in epoch after the graph confirms the error rate being maintained. Figure 4. The flow chart of feature extraction. Figure 5. Multilayer perceptron. Copyright 23 SciRes.

) J. E. LEE, S. K. YOO 9 2.3. Support Vector Machine If previously introduced pattern classifiers were designed with a purpose of minimizing the error rate, the SVM was designed with a purpose of maximizing the generalization ability by maximizing the margins between categories. As shown on the Figure 7, two classification lines are being classified without error. Previous classifiers will repeat the process of reducing the error and will stop to operate when no errors are found. But SVM will select the hyperplane having the same distance minimum value for each category from a large number of classified lines and will find the second classified lines with excellent generalization ability to maximize the margin. SVM can solve the conditional optimized problem to obtain and learn the Lagrange multiplier. Therefore, for the SVM classifier the input vector and the support vector will use nonlinear function to transform into a feature space and at such moment, an introduction of kernel function enabling internal calculation of the vector to simplify the computational difficulties. When a linear separation is impossible, SVM will introduce mitigation variables to allow wrong categories to measure how much margin of range the data has gone out. And by selecting the penalty variables and adjusting the width of the margin and the error it can structure an excellent performance classifier [8]. In order to structure the SVM, a selection of which kernel function to use and how to adjust the penalty variable must be made and explain whether the optimized condition for the termination of the algorithm was satisfied. In this paper, SVM classifier that uses RBF kernel function to adjust the value of the variables that best classify the sleep states was selected. 3. Results In relation to the extraction of parameter mentioned previously, backpropagation algorithm and SVM was first studied then tested. Using the classifier with 5 subject s biometric signals studied, the result as shown on the Table 2 was derived. The Table 2 has expressed the accuracy of the classifier by each data. The Figure 8 is an accuracy of the sleep stage. Above graph have shown accuracies when using the neural network and had less than 5% accuracy during the arousal state but in light sleep, deep sleep and REM states it had an accuracy of more than 8%. SVM comparatively had higher accuracy level than the neural network. It had similar graph patterns as the neural network but all with 65% or higher and had accuracy of 8% or higher during all other sleep states except for the arousal state and in light sleep and REM where the accuracy was over 9%. Table 3 is an organized version of the graph. Table 2. Accuracy of Classifiers. Data Neural Network SVM Data 84.9% 89.5% Data 2 86.8% 88.3% Accuracy Data 3 8.2% 9.2% Data 4 82.7% 88.3% Data 5 84.3% 89.% Figure 6. Error decreasing by epoch. N/N - Accuracy per sleep stage c(% Ac 5.5 2 2.5 3 3.5 4 Sleep Stage SVM - Accuracy per sleep stage Acc(%) 5.5 2 2.5 3 3.5 4 Sleep Stage Figure 7. Support vector machine. Figure 8. Accuracy per sleep stage. Copyright 23 SciRes.

92 J. E. LEE, S. K. YOO Table 3. Accuracy per sleep stage. Waking Light sleep Deep sleep REM Neural Network 44.4% 88.8% 82.6% 93.7% SVM 66.7% 9.% 83.8% 93.4% 4. Discussion and Conclusions In this paper, in order to classify the sleep state, assessment of the pattern classifier s function using the EEG signal was conducted. Currently, in order to improve the inefficiencies of vast amount of data analysis and the EEG data s ambiguity which are difficult for eye identification during the sleep analysis, the proposed system from this study was based on the pre-processing of the EEG signal measured during the sleeping and the extrac- tion of parameter from the frequency domain region. Using selected categories bases on the R&K rule which is currently widely used and studying the neural network and SVM algorithm to effectively assess the performance of two classifiers for analysis of the slee p state. Using a simple classifier algorithm to change the set- ting condition has increased the accuracy of an algorithm than classify the sleep state, and as a result neural net- work with an average of 83.8%, SVM with an average of 89.% was confirmed, and based on this result it was confirmed that SVM s performance was higher. Also in this study, it was confirmed that during the arousal state the accuracy falls significantly compared to other sleep states. And the reason is because the results are extracted during the beginning and the end of the test so it was speculated that many stimulus unrelated to sleeping was inflicted. In this study, by using the EEG signal s frequency characteristics it was confirmed that sleep state and EEG signal had a large correlation, and the algorithm used in this study is well known classifier therefore more faster adaptation was expected and this will be convenient and useful to those people who conduct sleep analysis. Also for the future studies, this can be used as a material to improve the algorithm function based on the fundamental algorithm. But the system proposed by this study was based on the extracted biomedical signals from healthy adults so for the future, the research technique that can normalize the difference of biomedical signals due to a gender and age group should be researched and the development of more generalized algorithm is necessary. Also besides EEG, using biomedical signals that are easy to measure, as a combination of biomedical signal, an improved capability to resolve the ambiguity of biomedical signal can be expected as well as increasing the classification accuracy for the arousal state. Also for classifiers based on each assessment, through a system combination more faster and stabilized performance should be shown. 5. Acknowledgements This work was supported by the National Research Foundation of Korea(NRF) grant funded by the Korea government(mest) (No.2-26833) REFERENCES [] K. Šušmáková, Human Sleep and Sleep EEG, MEAS- UREMENT SCIENCE REVIEW, Vol. 4, No. 2, 24. [2] P. McNamara, I. Capellini, E. Harris, C. L. Nunn, R. A. Barton and B. Preston, The Phylogeny of Sleep Database: A New Resource for Sleep Scientists, The Open Sleep Journal, Vol., 28, pp. -4. doi:.274/8746298 [3] S. K. Yoo, C. K. Lee and H. G. Jo, Chaotic Analysis of Electroenceph alograic Signal for Sleep Quality Meas- Networks, IEEE urement, ISAE 23, Kitakyushu, 6-8 March 23. [4] M. Teplan, Fundamentals of EEG Measurement, IEEE Measurement Science Review, Vol. 2, 22, pp. -. [5] P. J. Durka, Time-Frequency Analyses of EEG, Institute of Experimental Physics Department of Physics Warsaw University, August, 996. [6] H. N. F. Girosi, Counterpropagation International Conference on Neural Networks, 987, pp. 9-32. [7] A. Subasi and E. Erçelebi, Classification of EEG Signals Using Neural Network and Logistic Regression, Computer Methods and Programs in Biomedicine, Vol. 78, No. 2, 25, pp. 87-99. doi:.6/j.cmpb.24..9 [8] E. Osuna, R. Freund and F. Girosi, Support Vector Machines: Training and Applications, C. B. C, I. Paper, No. 44, March, 997. Copyright 23 SciRes.